crashcat docs
    Preparing search index...

    Function setTransform

    • Sets both the body's position and orientation, then recomputes the world-space center of mass and AABB. This is the most efficient way to update both transform components in one operation.

      Parameters

      • world: World
      • body: RigidBody
      • position: Vec3
      • quaternion: Quat
      • wake: boolean

      Returns void