Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can I make an object bounce off a wall without having rotation velocity affect the bounce?

Asked by 5 years ago

I'm attempting to make a golf game, but whenever the ball bounces off a wall, it bounces at a strange angle (because the ball has a rotation velocity). Is there any way to fix this?

I've thought of scripting my own physics, but I'm not sure how to calculate bounce angle from a model.

I've also tried always setting rotation velocity to 0, but then the ball slows down too much, so I'm not sure how to fix this.

Thanks for any help!

0
You should really post the script that determines what is being done to the golf ball, otherwise we can't tell you why your script is not working the way you want it to. SteamG00B 1633 — 5y

Answer this question