Replies: 1 comment 2 replies
-
Hi @cjoattesollo , If you go to the root PhysX view for the rigid body asset class, there is a function named: You can probably do something like this (not tested): current_gravity_status = my_cube.root_physx_view.get_disable_gravities()
current_gravity_status[env_ids] = 0 # need to check if 0 means enable or disable
my_cube.root_physx_view.get_disable_gravities(current_gravity_status, env_ids) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
When setting up my scene in isaac lab, if I defined an object using
RigidObjectCfg
and initially setdisable_gravity=False
viarigid_pros
parameter usingsim_utils.RigidBodyPropertiesCfg
, how can I change it todisable_gravity=True (means zero gravity mode)
at a specific point during the simulation?If it doesn't work, Is there any solution?
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions