Skip to content

format

typescript
Rigidbody.useGravity

class: Rigidbody

description

Whether the rigidbody is affected by gravity.

If set to false, the rigidbody will be in a weightless state.

parameter

param_nametypedescription

reture

typedescription
booleanWhether the rigidbody is affected by gravity.

code example