Description
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.
Constructor
Parameters
|
Name |
Type |
Description |
|
type |
number |
|
|
jointData |
PhysicsJointData |
|
Members
type : number
jointData : PhysicsJointData
physicsJoint : any
physicsPlugin : IPhysicsEnginePlugin
static BallAndSocketJoint : number
static WheelJoint : number
static SliderJoint : number
static PrismaticJoint : number
static UniversalJoint : number
static PointToPointJoint : number
static SpringJoint : number
static LockJoint : number
Methods
executeNativeFunction(func) → void
Execute a function that is physics-plugin specific.
It accepts two parameters: the physics world and the physics joint.
Parameters
|
Name |
Type |
Description |
|
func |
|
world |
any |
|
|
physicsJoint |
any |
|