BEPUphysics.Constraints.TwoEntity.JointLimits.DistanceLimit.DistanceLimit C# (CSharp) Method

DistanceLimit() public method

Constructs a distance limit joint.
public DistanceLimit ( Entity connectionA, Entity connectionB, Vector3 anchorA, Vector3 anchorB, float minimumLength, float maximumLength ) : System
connectionA Entity First body connected to the distance limit.
connectionB Entity Second body connected to the distance limit.
anchorA Vector3 Connection to the spring from the first connected body in world space.
anchorB Vector3 Connection to the spring from the second connected body in world space.
minimumLength float Minimum distance maintained between the anchors.
maximumLength float Maximum distance allowed between the anchors.
return System
        public DistanceLimit(Entity connectionA, Entity connectionB, Vector3 anchorA, Vector3 anchorB, float minimumLength, float maximumLength)
        {
            ConnectionA = connectionA;
            ConnectionB = connectionB;
            MinimumLength = minimumLength;
            MaximumLength = maximumLength;

            WorldAnchorA = anchorA;
            WorldAnchorB = anchorB;
        }

Same methods

DistanceLimit::DistanceLimit ( ) : System