Hi, I have a ball with a sphere collider and rigidbody. I spawn the ball and move it to the target. Thanks to the rigidbody it also rotates while it is moving. But I have something to achieve:
I want the ball rotation to be equal to a certain rotation value after it’s arrived to the target.
So I think I can do this in 2 ways that is:
- I need to calculate and set the initial rotation after it is spawned, and it will be at a certain rotation after it arrived to the target.
- Or, I will manually rotate it while it is moving to the target.
But the problem is, I tried but couldn’t get any chance to achieve it. So I need help.
