Using jit.phys.world with jit.world?
Hello all, I am trying to use the jit.phys.world object with jit.world to control the gravity of the environment. I know that this can be done using jit.gl.render, but I would prefer to do all my work through jit.world. Perhaps someone can help me with this issue. Patch attached for reference
you need to send the jit world a message "sendphys gravity 0. 0. 0." for gravity 0 or "sendphys gravity 0. -9.8 0." for normal gravity
Works perfectly thank you!
Hi,
Just tried connecting a message "sendphys gravity 0. 0. 0." To the patch attached here and it didnt work for me. Anyone has any insight?
This is my basic physics world setup patch. Just double checked the gravity and it works. Make sure you click on the message or send a bang to it after you change the values.