Documentation
    Preparing search index...

    Function collectBodyOrigins

    • A cross at every body's transform origin — three segments per body, in ascending body id.

      §113's "center-of-mass display" is collectCentersOfMass; the two markers coincide only for a body whose colliders are symmetric about its origin. (From 2026-08-02 to 2026-08-04 the seam had no centre-of-mass accessor and this origin cross was the recorded honest substitute; the getBodyCenterOfMass member unstaged the real thing.) Draw both to see exactly how far a compound body's mass sits from its authored origin.

      Returns the number of segments appended (3 per drawn body).

      Type Parameters

      • THandle
      • TColliderHandle

      Returns number