Skip to content

format

typescript
Rigidbody.mass

class: Rigidbody

description

The mass of the rigidbody.

Mass is a fundamental property of an object that determines its response to forces and acceleration. The larger the mass, the smaller the acceleration of the object under the influence of forces, and vice versa.

parameter

param_nametypedescription

reture

typedescription
numberThe mass of the rigidbody.

code example