Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Fri Jun 01, 2012 6:35 pm 
Offline

Joined: Wed Mar 21, 2012 1:06 am
Posts: 2
Hello,
I have recently updated an old application that was using bullet 2.70 and now I have compiled it with 2.80
Everything seems to be working fine so far except for the compound objects. I'm getting weird behavior. For example just having a box falling to a static plane if I set it up as compound object it never collides. The same setup with the old version of bullet is working fine.

Any hints of where should I look to fix this problem?

Thanks


Top
 Profile  
 
PostPosted: Sat Jun 02, 2012 1:09 am 
Offline

Joined: Wed Mar 21, 2012 1:06 am
Posts: 2
I've fixed this issue, I'm posting the solution in case this is useful for someone else.

We were adding the objects to the compound shape and at the end calculating the centroid and updating the transform for each of the children.
On the old version of the library you had to do this just by modifying m_transform on each of the children. On the new version of the library there are more things involved and instead of just update the matrix you should call the btCompoundShape member method updateChildTransform.


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 3 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