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

PrismaticJoint() public method

Constructs a new constraint which restricts two degrees of linear freedom and all three degrees of angular freedom. 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 PrismaticJoint ( ) : BEPUphysics.Constraints.TwoEntity
return BEPUphysics.Constraints.TwoEntity
        public PrismaticJoint()
        {
            IsActive = false;
            PointOnLineJoint = new PointOnLineJoint();
            AngularJoint = new NoRotationJoint();
            Limit = new LinearAxisLimit();
            Motor = new LinearAxisMotor();

            Add(PointOnLineJoint);
            Add(AngularJoint);
            Add(Limit);
            Add(Motor);
        }

Same methods

PrismaticJoint::PrismaticJoint ( Entity connectionA, Entity connectionB, Vector3 lineAnchor, Vector3 lineDirection, Vector3 pointAnchor ) : BEPUphysics.Constraints.TwoEntity
PrismaticJoint