Method | Description | |
---|---|---|
Activate ( ) : void |
Adds the internal constraints of this joint to the world class.
|
|
Deactivate ( ) : void |
Removes the internal constraints of this joint from the world class.
|
|
LimitedHingeJoint ( JitterWorld world, RigidBody body1, RigidBody body2, Jitter.LinearMath.JVector position, Jitter.LinearMath.JVector hingeAxis, float hingeFwdAngle, float hingeBckAngle ) : System |
Initializes a new instance of the HingeJoint class.
|
public LimitedHingeJoint ( JitterWorld world, RigidBody body1, RigidBody body2, Jitter.LinearMath.JVector position, Jitter.LinearMath.JVector hingeAxis, float hingeFwdAngle, float hingeBckAngle ) : System | ||
world | JitterWorld | The world class where the constraints get added to. |
body1 | RigidBody | The first body connected to the second one. |
body2 | RigidBody | The second body connected to the first one. |
position | Jitter.LinearMath.JVector | The position in world space where both bodies get connected. |
hingeAxis | Jitter.LinearMath.JVector | The axis if the hinge. |
hingeFwdAngle | float | |
hingeBckAngle | float | |
return | System |