Please can you toggle the gravity in a physics world from the script?
No, you can’t toggle the dynamic physics, but you can enable and disable physics components. What is it you are trying to do?
2 Likes
thanks i was just looking for an easier way to make dynamic objects fall faster
You can manually apply downward forces on update or periodically.
You have two options: 1) Increase the gravity in game.project. This is a build time change and applies globally to all physics worlds 2) Apply a downward force using apply_force like @Pkeod suggested
A third option is to make the objects kinematic and animate them yourself. Depending on what you want to do that can be either pretty easy or quite tricky.