crashcat docs
    Preparing search index...

    Function setRotation

    • Sets the character's rotation and synchronizes the inner body if present.

      Parameters

      • world: World

        the physics world

      • character: KCC

        the character controller

      • quaternion: Quat

        the new rotation quaternion

      Returns void