Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Apr 12, 2012 2:41 pm 
Offline

Joined: Thu Apr 12, 2012 2:24 pm
Posts: 2
hello,
i've been developing a cross-platform multiplayer game with bullet physics by using ogre3d framework. I'm mostly writing the application on ubuntu and then try it on windows to see it works. However, I've faced a problem related to CCD; on ubuntu, my ccd enabled fast bullets hit the wall -as I expected-, but on windows over 70% of them skip the wall without colliding with it.

step simulation parameters are all the same, only the versions of bullet are different: windows uses 2.79 and ubuntu uses 2.77.

what do you think? can this problem be caused by the version difference?

some information about walls:

- they have box shape
- the box shape added to the rigidbody as static shape (through ogrebullet)

bullets:

- sphere/box shape (doesn't matter)
- deactivation disabled
- collision flags: defaults+ghost_object flag
- linear and angular factors are set to 0
- gravity 0
- ccd motion threshold .00001
- ccd swept sphere .2 (I've tried .00001, also)

I'm really desperate and need help.
thanks.


Top
 Profile  
 
PostPosted: Thu Apr 12, 2012 3:19 pm 
Offline

Joined: Thu Apr 12, 2012 2:24 pm
Posts: 2
allright, problem solved. it seems I should'nt have used ghost object flag on a bullet. when I remove it, bullets started to collide again perfectly :}


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

All times are UTC


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:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group