Air Friction

Official forum for the Chipmunk2D Physics Library.
Post Reply
appdios
Posts: 2
Joined: Tue Feb 19, 2013 9:25 pm
Contact:

Air Friction

Post by appdios »

Was wondering, How to implement Air Friction?
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Air Friction

Post by slembcke »

What you are looking for is drag. Chipmunk spaces have a damping property, which provides a visually similar effect with no CPU cost. See here:
http://chipmunk-physics.net/release/Chi ... Properties

If you need more accurate drag, then you'll have to calculate that yourself and apply it as a force.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests