Box2D Forums

It is currently Mon May 20, 2013 10:09 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Mon Jun 25, 2012 7:19 am 
Offline

Joined: Mon Jun 25, 2012 7:12 am
Posts: 1
I'm wondering what approach to take to model a tower of hanoi type game.

For the rings would two fixture shapes either end of a disk/ring connected with a rigid displacement constraint going over a cone like shape work or is
there a better way? (giving a hollow centre which would slide onto the cone/peg and centralize itself)

Basically I need a falling body to constrain to a peg once it gets low enough but to still detect bodies below it (other rings).

Kind regards, Spencer


Top
 Profile  
 
PostPosted: Mon Jun 25, 2012 9:33 am 
Offline

Joined: Tue Jun 24, 2008 8:25 pm
Posts: 1515
Location: Tokyo
You could just put two fixtures onto one body - that's the best kind of "rigid displacement constraint" ;)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group