Method | Description | |
---|---|---|
PrismaticJoint ( ) : BEPUphysics.Constraints.TwoEntity |
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).
|
|
PrismaticJoint ( |
Constructs a new constraint which restricts two degrees of linear freedom and all three degrees of angular freedom.
|
public PrismaticJoint ( ) : BEPUphysics.Constraints.TwoEntity | ||
return | BEPUphysics.Constraints.TwoEntity |
public PrismaticJoint ( |
||
connectionA | First entity of the constraint pair. | |
connectionB | Second entity of the constraint pair. | |
lineAnchor | Vector3 | Location of the anchor for the line to be attached to connectionA in world space. |
lineDirection | Vector3 | Axis in world space to be attached to connectionA along which connectionB can move. |
pointAnchor | Vector3 | Location of the anchor for the point to be attached to connectionB in world space. |
return | BEPUphysics.Constraints.TwoEntity |