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

파일 보기 프로젝트 열기: prime31/Nez 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
collideConnected bool
enabled bool
userData object

공개 메소드들

메소드 설명
getReactionForce ( float invDt ) : Vector2

Get the reaction force on body at the joint anchor in Newtons.

getReactionTorque ( float invDt ) : float

Get the reaction torque on the body at the joint anchor in N*m.

isFixedType ( ) : bool

Return true if the joint is a fixed type.

보호된 메소드들

메소드 설명
Joint ( ) : System
Joint ( Body body ) : System

Constructor for fixed joint

Joint ( Body bodyA, Body bodyB ) : System
wakeBodies ( ) : void

비공개 메소드들

메소드 설명
initVelocityConstraints ( SolverData &data ) : void
solvePositionConstraints ( SolverData &data ) : bool

Solves the position constraints.

solveVelocityConstraints ( SolverData &data ) : void
validate ( float invDt ) : void

메소드 상세

Joint() 보호된 메소드

protected Joint ( ) : System
리턴 System

Joint() 보호된 메소드

Constructor for fixed joint
protected Joint ( Body body ) : System
body Body
리턴 System

Joint() 보호된 메소드

protected Joint ( Body bodyA, Body bodyB ) : System
bodyA Body
bodyB Body
리턴 System

getReactionForce() 공개 추상적인 메소드

Get the reaction force on body at the joint anchor in Newtons.
public abstract getReactionForce ( float invDt ) : Vector2
invDt float The inverse delta time.
리턴 Vector2

getReactionTorque() 공개 추상적인 메소드

Get the reaction torque on the body at the joint anchor in N*m.
public abstract getReactionTorque ( float invDt ) : float
invDt float The inverse delta time.
리턴 float

isFixedType() 공개 메소드

Return true if the joint is a fixed type.
public isFixedType ( ) : bool
리턴 bool

wakeBodies() 보호된 메소드

protected wakeBodies ( ) : void
리턴 void

프로퍼티 상세

collideConnected 공개적으로 프로퍼티

Set this flag to true if the attached bodies should collide.
public bool collideConnected
리턴 bool

enabled 공개적으로 프로퍼티

Indicate if this join is enabled or not. Disabling a joint means it is still in the simulation, but inactive.
public bool enabled
리턴 bool

userData 공개적으로 프로퍼티

Set the user data pointer.
public object userData
리턴 object