custom

    In this mode, the body’s center of mass is set through centerOfMass. Defaults to the body’s origin position.

    RigidBody3D.swift:51
    case custom

    Other cases

    • case auto

      In this mode, the body’s center of mass is calculated automatically based on its shapes. This assumes that the shapes’ origins are also their center of mass.