@ue-too/dynamics / index / Constraint
インターフェイス: Constraint
定義: constraint.ts:17
Physics constraint interface.
Remarks
Constraints restrict the motion of rigid bodies. Common examples include pin joints, distance constraints, and angle limits.
Constraints are solved using iterative methods and Baumgarte stabilization to prevent drift over time.
メソッド
enforce()
enforce(
dt):void
定義: constraint.ts:23
Enforces the constraint for one timestep.
パラメータ
dt
number
Timestep in seconds
戻り値
void