BEPUphysics.Constraints.TwoEntity.Joints.PointOnLineJoint.PointOnLineJoint C# (CSharp) Method

PointOnLineJoint() public method

Constructs a joint which constrains a point of one body to be on a line based on the other body.
public PointOnLineJoint ( Entity connectionA, Entity connectionB, Vector3 lineAnchor, Vector3 lineDirection, Vector3 pointLocation ) : System
connectionA Entity First connected entity which defines the line.
connectionB Entity Second connected entity which has a point.
lineAnchor Vector3 Location off of which the line is based in world space.
lineDirection Vector3 Direction of the line in world space.
pointLocation Vector3 Location of the point anchored to connectionB in world space.
return System
        public PointOnLineJoint(Entity connectionA, Entity connectionB, Vector3 lineAnchor, Vector3 lineDirection, Vector3 pointLocation)
        {
            ConnectionA = connectionA;
            ConnectionB = connectionB;

            LineAnchor = lineAnchor;
            LineDirection = lineDirection;
            Point = pointLocation;
        }

Same methods

PointOnLineJoint::PointOnLineJoint ( ) : System