Skip to content

format

typescript
Rigidbody.centerOfMass

class: Rigidbody

description

The position of the center of mass of the Rigidbody.

parameter

param_nametypedescription

reture

typedescription
Vector3The position of the center of mass.

code example