I recently wanted to use dSetGravity to let objects fly easily without having to use some complicated physics, but I noticed, that it would set the gravity globaly, even when I pass an object to the function.
The comment says, it would set it globally, but I wondered why it would take an object and if it's possible to set it per object somewhere, because I could not find it anywhere...
Description
Description
Details
Details
- Severity
- Block
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 7
- Category
- General
Event Timeline
Comment Actions
Hello LBmaster.
No, you cannot disable the gravity for a single object, it can only be applied for the entire world. If you want to make objects fly, you should disable the physics simulation on the object and then implement your own flying behaviour, in script.