C# Класс BEPUphysics.Constraints.SolverGroups.LineSliderJoint

Restricts two degrees of linear motion while allowing one degree of angular freedom.
Наследование: SolverGroup
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
LineSliderJoint ( ) : BEPUphysics.Constraints.TwoEntity

Constructs a new constraint which restricts two degrees of linear freedom and two degrees 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).

LineSliderJoint ( Entity connectionA, Entity connectionB, Microsoft.Xna.Framework.Vector3 lineAnchor, Microsoft.Xna.Framework.Vector3 lineDirection, Microsoft.Xna.Framework.Vector3 pointAnchor ) : BEPUphysics.Constraints.TwoEntity

Constructs a new constraint which restricts two degrees of linear freedom and two degrees of angular freedom between two entities.

Описание методов

LineSliderJoint() публичный Метод

Constructs a new constraint which restricts two degrees of linear freedom and two degrees 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 LineSliderJoint ( ) : BEPUphysics.Constraints.TwoEntity
Результат BEPUphysics.Constraints.TwoEntity

LineSliderJoint() публичный Метод

Constructs a new constraint which restricts two degrees of linear freedom and two degrees of angular freedom between two entities.
public LineSliderJoint ( Entity connectionA, Entity connectionB, Microsoft.Xna.Framework.Vector3 lineAnchor, Microsoft.Xna.Framework.Vector3 lineDirection, Microsoft.Xna.Framework.Vector3 pointAnchor ) : BEPUphysics.Constraints.TwoEntity
connectionA BEPUphysics.Entities.Entity First entity of the constraint pair.
connectionB BEPUphysics.Entities.Entity Second entity of the constraint pair.
lineAnchor Microsoft.Xna.Framework.Vector3 Location of the anchor for the line to be attached to connectionA in world space.
lineDirection Microsoft.Xna.Framework.Vector3 Axis in world space to be attached to connectionA along which connectionB can move and rotate.
pointAnchor Microsoft.Xna.Framework.Vector3 Location of the anchor for the point to be attached to connectionB in world space.
Результат BEPUphysics.Constraints.TwoEntity