Unity 2 golf, ball doesn't stop rolling and... [Answered]
So i call this func when ball goes out of camera range. the position gets reseted but the ball is still rolling, but slower
4 Replies
Not at a computer to test this rn, but try setting the velocity to zero first. If that doesn't fix it then instead of setting
ball.transform.position
try ball.Rigidbody2D.position
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
no i've just added one more line
fixes problem but the ball is still rotatin itself
✅ This post has been marked as answered!