Rolling A Ball Up A Wall

Greetings! Im working on a game where there is a ball that can stick to a wall and roll on it. Im kinda lost on how to do that…

Ive tried vector forces but it didnt work out (The rolling ball moved the vector faster then it could upd and you would just fall tldr it had a bunch of problems). Ive also tried EgoMooses gravity but it doesent work with my coustom ball.

Any help/guidence is appreciated

Note: Im not asking for a compleate script (If you wana give me one i wont complain) but just a direction.

why not use an invisible part as an elevator of sorts? (with TS)

part of the problem is it has to have force against the wall for the ball to roll. The floor would look weird with the ball rolling below on a floor when it should be on the wall, the most likely solution would prolly have to do with gravity but im not sure how to manipulate that

You can turn off gravity in the main game, so that the ball can kind of float around. Then apply a constant vector force in the direction you want gravity to be. For the players, add a vector force to their root part when they join, and make the force pull downwards, so that they have normal gravity. This should work fine, and even vector forces by themselves should solve your problem.

Ty! im working on another section of the project rn but when its done ill do this. Do you think changing the gravity locally would work?

Best to do it on server, you should be able to do it pretty easyily.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.