class PhysicsJoint
This is a holder class for the physics joint created by the physics plugin.
It holds a set of functions to control the underlying joint.
Name | Type | Description | |
---|---|---|---|
type | number | ||
jointData | PhysicsJointData |
Execute a function that is physics-plugin specific.
It accepts two parameters: the physics world and the physics joint.
Name | Type | Description | |||
---|---|---|---|---|---|
func | world | any | |||
physicsJoint | any |