Skip to content

format

typescript
Rigidbody.drag

class: Rigidbody

description

The air resistance experienced by a rigid body in motion.

Air resistance is the resistance experienced by an object when it moves through the air, similar to the resistance experienced by an object when it moves through water.

parameter

param_nametypedescription

reture

typedescription
numberAir resistance

code example