how to make a billiard table

Official forum for the Chipmunk2D Physics Library.
Post Reply
hain
Posts: 2
Joined: Wed Jan 04, 2012 4:39 am
Contact:

how to make a billiard table

Post by hain »

i'm a beginner.like the topic,I want to make a billiard game.But i found i don't know how to make a billiard table.
how to make Friction on the body's surface.As I understood,Collision will happen between two or more bodys.But the billiard balls are moved up the table always.
how to simulate them?
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: how to make a billiard table

Post by slembcke »

You need to use a specially configured constraint to simulate the rolling friction between the table and the balls. See the Tank demo for an example.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
hain
Posts: 2
Joined: Wed Jan 04, 2012 4:39 am
Contact:

Re: how to make a billiard table

Post by hain »

thanks for replying.I will retry .Thanks a lot
Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests