I’m trying to get a rigidbody ball character to go around a roller coaster styled loop using only physics. I’ve tried the downforce method with -transform.up * gravity * mass but the character simply stops when the loop becomes too steep (around 90 degrees). I’ve got collision data via a downwards raycast and visual debugging shows the ray aligning to the normal of the loop, I’m wondering what would be the best way to use this data to apply the appropriate force. I’ve also tried adding force with the raycast hit - the player position but that yielded the same result. If anyone could help me on this I would greatly appreciate it, I’ve yet to see anybody achieve this without a spline path.
Can’t you just replace raycast with sphere collider? Also you won’t probably need downforce if you have enough speed.
Can you not apply a super powerful force in the direction the ball is facing … The physics should be able to make it go around
Got it working, thanks for your advice!