Create3DPhysicsConeTwistJoint

Description

Creates a Cone Twist joint between object a and b. The rotationVec3 parameter should be an axis in the form (0,1,0) for vertical, (1,0,0) for horizontal along the X axis, (0,0,1) for horizontal along the Z axis, or any combination of these. The rotation vector does not need to be normalized. The joint will spin along the given axis and rotate freely within a cone along this axis. The cone limits can be specified with Set3DPhysicsJointConeTwistLimits. Returns a joint ID.

Definition

integer Create3DPhysicsConeTwistJoint( objA, objB, positionVec3, rotationVec3, disableCollisions )

Parameters