your scene is what I looked for but I have not understood "something"
The script of the box that collide with the arrow contains the following line:
onCollide = (e)=>{sim.running := false}
that stop all the simulation.
But, for example, how can I stop a gear-motor without stopping the entire simulation?
Could you please help to find a document that explain how to refer to an objet and where can I find the unique name/ID of an objet.
Thank you
Bye
alby