So uhh… hello everyone! I’ll try to keep this short and simple, I’m currently making a game where you are a ball and move around by rolling. Currently going up slopes is a pain, and I’ve (probably) found a solution to it, the only problem is that it involves CFrames which I pretty much suck at it.
My proposed solution to this to get the “normal” via raycasting then ignore the Y and get the “degrees” between X and Z, then divide it by the a another number (which is the max degrees) to get a percentage, then multiply it by the gravity to get the additional force needed, then finally check if the additional force is needed if the player is actually going up a slope.
I just need the raycasting part and I think that should be enough for me to finish off the piece of code.
(Hopefully I explained my issue correctly despite my grammar, if you need more information or anything else, don’t feel afraid to ask!)