crashcat docs
    Preparing search index...

    Function getCenterOfMassTransform

    • Gets the world-space center of mass transform for the character. This accounts for the shape offset.

      Parameters

      • character: KCC

        the character controller

      • outPosition: Vec3

        output for the center of mass position

      • outQuaternion: Quat

        output for the orientation

      Returns void