C# 클래스 BEPUphysics.Constraints.SolverGroups.PrismaticJoint

Restricts two degrees of linear freedom and all three degrees of angular freedom.
상속: SolverGroup
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

공개 메소드들

메소드 설명
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 ( Entity connectionA, Entity connectionB, Vector3 lineAnchor, Vector3 lineDirection, Vector3 pointAnchor ) : BEPUphysics.Constraints.TwoEntity

Constructs a new constraint which restricts two degrees of linear freedom and all three degrees of angular freedom.

메소드 상세

PrismaticJoint() 공개 메소드

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).
public PrismaticJoint ( ) : BEPUphysics.Constraints.TwoEntity
리턴 BEPUphysics.Constraints.TwoEntity

PrismaticJoint() 공개 메소드

Constructs a new constraint which restricts two degrees of linear freedom and all three degrees of angular freedom.
public PrismaticJoint ( Entity connectionA, Entity connectionB, Vector3 lineAnchor, Vector3 lineDirection, 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 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.
리턴 BEPUphysics.Constraints.TwoEntity