pub unsafe extern "C" fn PxArticulationReducedCoordinate_getDofs(
    self_: *const PxArticulationReducedCoordinate
) -> u32
Expand description

Returns the total number of joint degrees-of-freedom (DOFs) of the articulation.

  • The six DOFs of the base of a floating-base articulation are not included in this count.
  • Example: Both a fixed-base and a floating-base double-pendulum with two revolute joints will have getDofs() == 2.
  • The return value is only valid for articulations that are in a scene.

The number of joint DOFs, or 0xFFFFFFFF if the articulation is not in a scene.