articulation-not-on-static-body#

Code

JT.ART.004

Validator

latest+

Compatibility

openusd

Tags

Summary#

Articulations are not allowed on static bodies.

Description#

Articulations are only allowed on enabled rigid bodies.

Why is it required?#

  • Articulations require bodies that can be dynamically simulated to function properly

Examples#

# Invalid: UsdPhysicsArticulationRootAPI applied to a static body
def Cube "Cube" (
   prepend apiSchemas = ["PhysicsRigidBodyAPI", "PhysicsArticulationRootAPI"]
) {
   bool physics:rigidBodyEnabled = 0
}

# Valid: UsdPhysicsArticulationRootAPI applied to an enabled rigid body (the Enabled attribute has a default of True)
def Cube "Cube" (
   prepend apiSchemas = ["PhysicsRigidBodyAPI", "PhysicsArticulationRootAPI"]
) {
}

How to comply#

Set the Enabled attribute of a UsdPhysicsRigidBodyAPI to True.

For More Information#