API

Interface PhysicsJointData

Interface for Physics-Joint data

interface PhysicsJointData {
    collision?: boolean;
    connectedAxis?: Vector3;
    connectedPivot?: Vector3;
    mainAxis?: Vector3;
    mainPivot?: Vector3;
    nativeParams?: any;
}

Hierarchy (View Summary)

Index
collision?: boolean

The collision of the joint

connectedAxis?: Vector3

The connected axis of the joint

connectedPivot?: Vector3

The connected pivot of the joint

mainAxis?: Vector3

The main axis of the joint

mainPivot?: Vector3

The main pivot of the joint

nativeParams?: any

Native Oimo/Cannon/Energy data