Hello, I am a newbee in Unity world, I am building a simple pong game where user serves the ball and scores a point if the ball reaches the opponent’s goal post. However I have a problem in the ball movement. The ball movement is not smooth, it is jittering dinn know why. Here are the methods I used.
- Used Interpolate.
- Used fixed frame rate in the code.
- Used the code in fixed update.
Attributes attached to the ball are -
- bounciness Material.
- ball gets a velocity when collides with the paddles
- Velocity is normalised.
- Sphere collider.
Any help is highly appreciated.