Skip to content

format

typescript
Rigidbody.density

class: Rigidbody

description

(Set Only) Sets the mass based on the attached collider.

parameter

param_nametypedescription

reture

typedescription
void

code example