Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Thu Mar 14, 2013 7:42 am 
Offline

Joined: Thu Mar 14, 2013 7:19 am
Posts: 1
Hi all

I am a programmer and has recently intergreted bullet engine in our game.

Here is the situation:
We created a couple of RigidBodys(both kinematic and dynamic) and linked them with Constraints( btGeneric6DofSpringConstraint ) for some simplified cloth simulation.
The system go wrong when we suddenly move all the RigidBodies for a same long distance ( We move the bodies by calling both btRigidBody::setTransform and btMotionState::setTransform ) . We thought that if we keep the relative offset of the RigidBodies, the elastic constraints between them will act the same like the bodies has not moved, but the fact proved the expectation wrong. The bodies move quite unstably.
We checked the Debugdraw. And we have two guesses that might explain.
1: the constraints' internal status is not updated when we manually move the bodies. The constraints still think the bodies are quite far away and apply a very large force on the bodies, and make the simulation unstable.
2: the manual move of dynamic bodys results in large feedback force.

The question is: which guess is right, and what, in your opinion, is the right way to solve the problem?


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

All times are UTC


Who is online

Users browsing this forum: Bing [Bot], manmohan29 and 6 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