void TA::PhysicsJoint::InitialiseBallAndSocket
(
|
const Vec3 &
|
v3Position,
|
|
const Vec3 &
|
v3LimitCenterDirection,
|
|
float
|
fMaxAngle
|
) |
|
|
|
Call this function to initialise this joint as a ball and socket constraint. - Note:
- To create a joint, use TA::DynamicObject::AddJoint.
- See also:
- TA::DynamicObject::InitialiseBallAndSocketEx.
- Parameters:
-
| v3Position |
| | The location, in world space, where the 2 objects are joined. |
| v3LimitCenterDirection |
| | A normalised vector that points along the center axis of the of the joint. Specified in world space. |
| fMaxAngle |
| | The maximum angle from the center axis that the joint is allowed to bend. |
|
|