C# 클래스 FarseerPhysics.Dynamics.Joints.SliderJoint

A distance joint contrains two points on two bodies to remain at a fixed distance from each other. You can view this as a massless, rigid rod.
상속: Joint
파일 보기 프로젝트 열기: scastle/Solitude 1 사용 예제들

공개 메소드들

메소드 설명
GetReactionForce ( float inv_dt ) : Vector2
GetReactionTorque ( float inv_dt ) : float
SliderJoint ( Body bodyA, Body bodyB, Vector2 anchorA, Vector2 anchorB, float minLength, float maxlength ) : System

Initializes a new instance of the SliderJoint class. Warning: Do not use a zero or short length.

비공개 메소드들

메소드 설명
InitVelocityConstraints ( TimeStep &step ) : void
SolvePositionConstraints ( ) : bool
SolveVelocityConstraints ( TimeStep &step ) : void

메소드 상세

GetReactionForce() 공개 메소드

public GetReactionForce ( float inv_dt ) : Vector2
inv_dt float
리턴 Vector2

GetReactionTorque() 공개 메소드

public GetReactionTorque ( float inv_dt ) : float
inv_dt float
리턴 float

SliderJoint() 공개 메소드

Initializes a new instance of the SliderJoint class. Warning: Do not use a zero or short length.
public SliderJoint ( Body bodyA, Body bodyB, Vector2 anchorA, Vector2 anchorB, float minLength, float maxlength ) : System
bodyA Body The first body.
bodyB Body The second body.
anchorA Vector2 The first body anchor.
anchorB Vector2 The second body anchor.
minLength float The minimum length between anchorpoints
maxlength float The maximum length between anchorpoints.
리턴 System