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

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

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

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

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

SwivelHingeJoint ( Entity connectionA, Entity connectionB, Microsoft.Xna.Framework.Vector3 anchor, Microsoft.Xna.Framework.Vector3 hingeAxis ) : BEPUphysics.Constraints.TwoEntity

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

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

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

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

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

Constructs a new constraint which restricts three degrees of linear freedom and one degree of angular freedom between two entities.
public SwivelHingeJoint ( Entity connectionA, Entity connectionB, Microsoft.Xna.Framework.Vector3 anchor, Microsoft.Xna.Framework.Vector3 hingeAxis ) : BEPUphysics.Constraints.TwoEntity
connectionA BEPUphysics.Entities.Entity First entity of the constraint pair.
connectionB BEPUphysics.Entities.Entity Second entity of the constraint pair.
anchor Microsoft.Xna.Framework.Vector3 Point around which both entities rotate.
hingeAxis Microsoft.Xna.Framework.Vector3 Axis of allowed rotation in world space to be attached to connectionA. Will be kept perpendicular with the twist axis.
Результат BEPUphysics.Constraints.TwoEntity