Skip to content

format

typescript
Rigidbody.worldCenterOfMass

class: Rigidbody

description

(Read Only) The center of mass position of the Rigidbody in world space.

parameter

param_nametypedescription

reture

typedescription
Vector3The center of mass position in world space.

code example