Air Hockey Style Physics

Official forum for the Chipmunk2D Physics Library.
Post Reply
dtuckernet
Posts: 2
Joined: Fri Nov 30, 2012 2:38 pm
Contact:

Air Hockey Style Physics

Post by dtuckernet »

I am a bit new to Chipmunk Physics (and to physics engines in general). I'm looking for some advice about settings for the space, body, and shape to create something similar to air hockey / shuffleboard. In short - this will be 'flat' (more of a table top approach rather than multi-dimensional gravity). In addition, I need the objects to be able to slow down over time and then stop completely (I've been able to get it slow down almost completely - but not stop completely).

Thoughts? I'm not looking for code - just suggestions around settings for the space, body, and shape.
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Air Hockey Style Physics

Post by slembcke »

For top down physics, you should look at the Tank demo that comes with Chipmunk. I shows you how to set up constraints to act like friction of objects laying on a surface parallel to the physics plane.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
dtuckernet
Posts: 2
Joined: Fri Nov 30, 2012 2:38 pm
Contact:

Re: Air Hockey Style Physics

Post by dtuckernet »

Thanks! I'll take a look at that now and let you know if I have any questions.
Post Reply

Who is online

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