Hey there, I have been working on a game with a pretty simple concept. Control a rolling ball that eats smaller balls and get bigger, ram into other players to make there ball smaller.
I have run into a bug that I am having trouble fixing. So basically when you ram your ball into another solid too fast, your ball’s gravity direction can be changed, causing you to slide off the map or just fly away.
I am looking for some way to force a gravity vector or direction. Thanks.
Well, you know how your character falls downwards, if the ball hits a solid to fast then it might start falling sideways or upwards. Anchoring and unanchoring would not work because the ball falls toward the bottom of your characters humanoid root part, so if you were to do that then when it unanchors, it will still be completely rotated and fall in the wrong direction. I just need to keep it up right.
In this video you can see ho
w if I hit the ball fast I rotate and start sliding and falling sideways. I want to force a certain DIRECTION of gravity so it can’t do that. robloxapp-20220212-2310483.wmv (1.0 MB)