Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu Apr 26, 2012 8:52 pm 
Offline

Joined: Thu Apr 26, 2012 8:48 pm
Posts: 2
Is it possible, without modifications, to roll back a particular step of solved constraints? I.e. in the internalSingleStepSimulation method, discard the results after the solveConstraints() call and then solve it again? I am interested in this to perform more realistic breaks after collisions, specially against objects which are glued to very heavy structures.


Top
 Profile  
 
PostPosted: Sat Apr 28, 2012 2:53 pm 
Offline

Joined: Sun Jan 29, 2012 10:01 pm
Posts: 49
I would use a compound shape for each heavy body so that the small details will always be in the right place.
You can also use class inheritance if you want to modify the engine while still being able to upgrade to a new version of Bullet.


Top
 Profile  
 
PostPosted: Sat Apr 28, 2012 7:05 pm 
Offline

Joined: Thu Apr 26, 2012 8:48 pm
Posts: 2
Small details? Actually, I want to recalculate the constraints after I changed the composition of objects. I was looking for an alternative without the need to modify. If I have to modify it though I will add a commit/rollback feature there, which is what I am looking for.


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