- Home /
Ball Jittering Problem !!
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.
1) Used Interpolate. 2) Used fixed frame rate in the code. 3) Used the code in fixed update.
Attributes attached to the ball are - 1) bounciness Material. 2) ball gets a velocity when collides with the paddles 3) Velocity is normalised. 4) Sphere collider.
Any help is highly appreciated.
try this 5) dont use physics and move the ball with certain fixed speed by yourslef.
Hello Friend . Have you got the solution of this problem.If you have got then please share with me beacuse i am also suffering from same problem
In my game ,when ball moves from one ground(made from cube ) to another ground(made from cube ),Ball makes an vibration .Also I have tried to put cube as a player instead of ball but Again problem arises i.e cube stop at the edge of one ground while moving to another ground. Please Help me! Help me!
Answer by N-8-D-e-v · Sep 03, 2020 at 12:43 PM
Don't set the velocity every frame, just addforce or set the velocity ONCE and not every frame that it's moving
Your answer
![](https://koobas.hobune.stream/wayback/20220613145445im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
labyrinth like game 1 Answer
Weird bug. Roll a ball project 0 Answers
Potholes to roll the ball 0 Answers
why is my sphere reddish 1 Answer
Virtual joystick for roll a ball game 0 Answers