Purpose of UsdPhysicsRigidBodyDesc structure

Hi all!
while working on with Physics I noticed the structure UsdPhysicsRigidBodyDesc. I am trying to understand the reason for its existance as I have not seen anything that consumes the struct directly.

Does it play a role at runtime?
Is it there as a convention for physics schemas or is it specific to rigit bodies?

I don’t see the point on using it if I can skip it and go straight to UsdPhysicsRigidBodyAPI.

Thanks for your time in advance.
Sergio

The ObjectDesc structs are purely for runtime use to be efficient representations of object data whereas the API classes are used to actually read and write physics data into the stage layers.

If you’re just interested in serialization, then you can ignore the ObjectDesc structs.

2 Likes