BEPUphysics.Constraints.SolverGroups.SwivelHingeJoint.SwivelHingeJoint C# (CSharp) Method

SwivelHingeJoint() public method

Constructs a new constraint which restricts three degrees of linear freedom and one degree of angular freedom between two entities. This constructs the internal constraints, but does not configure them. Before using a constraint constructed in this manner, ensure that its active constituent constraints are properly configured. The entire group as well as all internal constraints are initially inactive (IsActive = false).
public SwivelHingeJoint ( ) : BEPUphysics.Constraints.TwoEntity
return BEPUphysics.Constraints.TwoEntity
        public SwivelHingeJoint()
        {
            IsActive = false;
            BallSocketJoint = new BallSocketJoint();
            AngularJoint = new SwivelHingeAngularJoint();
            HingeLimit = new RevoluteLimit();
            HingeMotor = new RevoluteMotor();
            TwistLimit = new TwistLimit();
            TwistMotor = new TwistMotor();

            Add(BallSocketJoint);
            Add(AngularJoint);
            Add(HingeLimit);
            Add(HingeMotor);
            Add(TwistLimit);
            Add(TwistMotor);
        }

Same methods

SwivelHingeJoint::SwivelHingeJoint ( Entity connectionA, Entity connectionB, Microsoft.Xna.Framework.Vector3 anchor, Microsoft.Xna.Framework.Vector3 hingeAxis ) : BEPUphysics.Constraints.TwoEntity
SwivelHingeJoint