Hello everyone,
I am using PyRep to control my simulation in CoppeliaSim. By default, it starts with the Bullet engine and I would like to change to another one since Bullet is instable in my simulation.
Thank you in advance.
Change default physic engine at the start
Re: Change default physic engine at the start
Hello,
you can change the physics engine while simulation is not running with e.g.:
So you can put that in the init section of the sandbox script (in system/sndbxscpt.txt) or an add-on script.
In you case however, you could also simply change the engine to what you want (in the default scene), and save the scene as the default scene to system/dfltscn.ttt.
Cheers
you can change the physics engine while simulation is not running with e.g.:
Code: Select all
sim.setInt32Parameter(sim.intparam_dynamic_engine,sim.physics_newton)
In you case however, you could also simply change the engine to what you want (in the default scene), and save the scene as the default scene to system/dfltscn.ttt.
Cheers
Re: Change default physic engine at the start
Thank you very much for your answer, that helped me a lot!