|
-
ball not moving smoothy
Hello Guys,
So what i have is a very simple ball moving on a surface with friction, the ball has a vx and vy component. i get the ball to move and slow down with friction and it works fine. However, as the ball approaches 0, i start to notice what appears to be a wobbly effect (i.e: it starts to deviate left and right from its path). Ultimately it follows its line, but its as if it moves in ad out of it towards the end. Here is the math behind my ball's movement:
Friction = 0.2;
v -= friction;
vx = v * cos(theta);
vy = v * sin(theta);
Last edited by brigadier90; 08-12-2012 at 07:57 AM.
Reason: velocity, math, friction
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|