C# Class Jitter.Dynamics.Joints.LimitedHingeJoint

Limited hinge joint.
Inheritance: Joint
显示文件 Open project: nuclearpidgeon/graphicsproj2

Public Methods

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.

Method Details

Activate() public method

Adds the internal constraints of this joint to the world class.
public Activate ( ) : void
return void

Deactivate() public method

Removes the internal constraints of this joint from the world class.
public Deactivate ( ) : void
return void

LimitedHingeJoint() public method

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