Box2D Forums

It is currently Tue May 21, 2013 5:17 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Fri May 11, 2012 3:18 am 
Offline

Joined: Fri May 04, 2012 12:15 am
Posts: 3
In my game I have many good bodies and many bad one. They randomly came out from different holes on screens which i have made static type of body. Now I want to keep reference that from which holes bad body and from which good one came out.The good and bad bodies are just sprites and they are not b2body. I just want to set some kind of tag on holes(which are static body) according to bad or good body's popping up from them.Is there any way to setting userdata or tag dynamically on bodyDef even after creating body. Suggest me if any other possible solution exist :( :( :?: .


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

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 1 guest


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