what is the correct way of reseting the transform of a rigid body?

Post Reply
pedrohbr154
Posts: 1
Joined: Mon Feb 06, 2023 5:35 pm

what is the correct way of reseting the transform of a rigid body?

Post by pedrohbr154 »

Hello,
I need to run a simulation of a falling object from a starting position and then reset its transform eventually to the same position and run it again.
However, everytime I do that, each simulation is different, I need them to be the same everytime.
I saw those threads which are old:
viewtopic.php?f=9&t=7889&p=27147&hilit= ... tic#p27147
viewtopic.php?f=9&t=10015
viewtopic.php?t=7889

Even by calling clearForces, reseting the constraint solver, reseting the broadphase pool, clearing the overlapping pair caches, I still get different results.
I'm using Bullet 3.2.5
Any ideas? Thx!
Post Reply