I have a game where the player hits a ball. I used addForce to make the ball go faster than if two rigidbodies just collided.
However, the ball does not stop after it is hit because it is in Update, and apparently you cannot addForce outside of Update/FixedUpdate, which makes it repeat every frame.
Is there another way to achieve the same goal?
↧