Friction: deceleration along the surface

Official forum for the Chipmunk2D Physics Library.
Post Reply
notpeter
Posts: 2
Joined: Sun Oct 04, 2009 1:21 pm
Contact:

Friction: deceleration along the surface

Post by notpeter »

Hi folks,

Just getting started with Chipmunk and was wondering what would be the best way to implement friction...not between objects, but between objects and the plane (aka deceleration). An easily describable example is air hockey: the puck bounces around in two dimensions and friction between the walls and the paddles affects spin/direction of the puck, but friction between the puck and the table reduces velocity of the puck.

I'm interested in implementing friction which affects both linear and rotational velocities of objects.

Thanks
notpeter
Posts: 2
Joined: Sun Oct 04, 2009 1:21 pm
Contact:

Re: Friction: deceleration along the surface

Post by notpeter »

Found what I was looking for...'Damping' should model what need for for the moment, although ultimately I may end up writing my own velocity update function.
Post Reply

Who is online

Users browsing this forum: Heise IT-Markt [Crawler] and 15 guests