#Correct 2D ball movement

1 messages · Page 1 of 1 (latest)

thorn gate
#

just clamp the min and max degree of the bal hit dir

#

i.e if the balls projected trajectory exceeds said bounds set it to the min / max of that bounds depending on which side it was hit

random swan
#

hyy i can help you if you want

#

though i'm a beginner too

hollow torrent
#

Hey @wintry onyx here's a quick mock-up to hopefully help you out a bit. But essentially what the previous poster said about clamping the angles when you hit the ball. I did this in 3D, and all inside 1 Player script so you may need to tweak it slightly to better work for your game 🙂

hollow torrent
#

Hey, sure, what part do you need help with?