Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Jun 19, 2012 4:52 pm 
Offline

Joined: Tue Jun 19, 2012 4:46 pm
Posts: 2
Hello:
I have a couple questions. I'm wrapping up the rigid body class so that I can make static objects. How would I set it up so that the object can not move at all?
Also, I am looking at setting up the collision detection. Is there a way to avoid the static objects? For example, there would be no need to check if a static object and another static object would collide.
Thanks,


Top
 Profile  
 
PostPosted: Tue Jun 19, 2012 5:28 pm 
Offline

Joined: Mon Jun 11, 2012 10:31 am
Posts: 8
Just give the rigid body a mass of 0 and set the CF_STATIC_OBJECT collision flag. Not sure about disabling collision between static objects.


Top
 Profile  
 
PostPosted: Tue Jun 19, 2012 8:16 pm 
Offline

Joined: Tue Jun 19, 2012 4:46 pm
Posts: 2
Dalorin wrote:
Just give the rigid body a mass of 0 and set the CF_STATIC_OBJECT collision flag.

awesome, thanks.


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

All times are UTC


Who is online

Users browsing this forum: Bing [Bot], chineseoldghost, 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:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group