API

Interface PhysicsConstraintDebug

Minimal constraint debug data consumed by the Lite PhysicsViewer.

interface PhysicsConstraintDebug {
    axisA?: Vec3;
    axisB?: Vec3;
    bodyA: PhysicsBody;
    bodyB: PhysicsBody;
    perpAxisA?: Vec3;
    perpAxisB?: Vec3;
    pivotA: Vec3;
    pivotB: Vec3;
    type?: number;
}
Index
axisA?: Vec3
axisB?: Vec3
perpAxisA?: Vec3
perpAxisB?: Vec3
pivotA: Vec3
pivotB: Vec3
type?: number