Replies: 2 comments 3 replies
-
|
Hi @shy924 thank you for posting this issue. I'll look into this issue shortly. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hi @shy924, are you calling these API functions after having started simulation? When eENABLE_DIRECT_GPU_API is set, PhysX restricts calls (setGlobalPose, setLinearVelocity, setAngularVelocity) that modify its internal state. In Isaac Sim with GPU PhysX, you should set physics properties before simulation starts or during stage setup, not during runtime. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I encounter a PhysX runtime error when trying to apply PhysxRigidBodyAPI and set angular damping for a prim.
The code works for creating the attribute, but during simulation PhysX throws errors related to PxSceneFlag::eENABLE_DIRECT_GPU_API.
Code
Error Log
Expected Behavior
Setting the angular damping attribute should not trigger PhysX errors during simulation.
Questions
Is this caused by the PhysX scene running with PxSceneFlag::eENABLE_DIRECT_GPU_API?
Are we not allowed to modify rigid body state (angular damping) when the direct GPU API is enabled?
Is there a recommended way to configure damping parameters for rigid bodies when running GPU PhysX?
Environment
Simulator: Isaac Sim
Framework: Isaac Lab
PhysX backend: GPU PhysX
Python API: `PhysxSchema.PhysxRigidBodyAPI```
Beta Was this translation helpful? Give feedback.
All reactions