Skip to content

format

typescript
Rigidbody.maxDepenetrationVelocity

class: Rigidbody

description

The maximum velocity for resolving penetration of a Rigidbody.

When two objects are found to be partially overlapping during collision detection, known as penetration, the physics engine calculates a velocity to resolve the penetration and quickly separate the objects to prevent overlap.

parameter

param_nametypedescription

reture

typedescription
numberThe penetration resolution velocity.

code example