I am using dynamic spheres and i want to disable their gravity for the whole simulation or sometimes during some parts of the simulation.
Hi,
this should be possible through USD and PhysxSchema:
from pxr import PhysxSchema
physxAPI = PhysxSchema.PhysxRigidBodyAPI.Apply(cubePrim)
physxAPI.CreateDisableGravityAttr(True)
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How do I disable gravity for a given object using Python API? | 1 | 210 | June 25, 2024 | |
| Do we able to disable gravity during simulation in Issac Gym? | 3 | 1586 | October 12, 2021 | |
| How to use Zero Gravity Tool in Isaac Sim? | 10 | 1038 | June 28, 2024 | |
| Add rigidbody with python no property disable gravity RAW USD properties | 5 | 2057 | September 4, 2023 | |
| Define a custom physics model in Isaac Sim | 1 | 567 | July 18, 2023 | |
| Disabling gravity of specific parts in a single asset | 1 | 799 | December 18, 2022 | |
| GPU dynamics flag only takes effect after manually opening physicsScene in the GUI | 11 | 1927 | April 6, 2023 | |
| Set gravity for custom asset | 5 | 2479 | April 5, 2024 | |
| Isaac Sim Robotics - Physics | 3 | 816 | March 28, 2023 | |
| How do you use a script to change an object's gravity properties? | 4 | 369 | April 15, 2024 |