Box2D Forums

It is currently Tue May 21, 2013 2:19 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Fri Jun 15, 2012 3:49 pm 
Offline

Joined: Wed May 30, 2012 11:05 am
Posts: 16
This might sound pretty simple. I have created two individual classes for sprites with parent layer properties which I instantiate in the init method of the HelloWorldLayer.mm. How do I create a contact listener in such a way that when these two physics sprites touch a weld joint is created? Please Help.


Top
 Profile  
 
PostPosted: Fri Jun 15, 2012 11:54 pm 
Offline

Joined: Tue Jun 24, 2008 8:25 pm
Posts: 1515
Location: Tokyo
You might find some useful info here: http://www.iforce2d.net/b2dtut/sticky-projectiles


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: No registered users and 2 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