Jump to content

  • Log In with Google      Sign In   
  • Create Account


MDSINA

Member Since 24 Mar 2011
Offline Last Active Feb 24 2013 01:00 AM

Posts I've Made

In Topic: Verlet physics

21 December 2012 - 03:01 AM

Hi,
Here you can add the damping, but friction is related to the contact between two bodies.
So you could add :
V.Position += (V.Position-V.OldPosition) * damping + V.Acceleration*Timestep*Timestep;


The friction will change the acceleration "V.Acceleration" in function of the contact normal.

Hope it can help...

 

 

Thanks, but it's not work true


PARTNERS