C# 클래스 Project290.Physics.Dynamics.Joints.Joint

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

공개 프로퍼티들

프로퍼티 타입 설명
Breakpoint float
Enabled bool

보호된 프로퍼티들

프로퍼티 타입 설명
InvIA float
InvIB float
InvMassA float
InvMassB float
LocalCenterA Vector2

공개 메소드들

메소드 설명
GetReactionForce ( float inv_dt ) : Vector2

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

GetReactionTorque ( float inv_dt ) : float

Get the reaction torque on body2 in N*m.

IsFixedType ( ) : bool

Return true if the joint is a fixed type.

보호된 메소드들

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

Constructor for fixed joint

Joint ( Body body, Body bodyB ) : System
WakeBodies ( ) : void

비공개 메소드들

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

Solves the position constraints.

SolveVelocityConstraints ( TimeStep &step ) : void
Validate ( float invDT ) : void

메소드 상세

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

Get the reaction force on body2 at the joint anchor in Newtons.
public abstract GetReactionForce ( float inv_dt ) : Vector2
inv_dt float The inv_dt.
리턴 Vector2

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

Get the reaction torque on body2 in N*m.
public abstract GetReactionTorque ( float inv_dt ) : float
inv_dt float The inv_dt.
리턴 float

IsFixedType() 공개 메소드

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

Joint() 보호된 메소드

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

Joint() 보호된 메소드

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

WakeBodies() 보호된 메소드

protected WakeBodies ( ) : void
리턴 void

프로퍼티 상세

Breakpoint 공개적으로 프로퍼티

The Breakpoint simply indicates the maximum Value the JointError can be before it breaks. The default value is float.MaxValue
public float Breakpoint
리턴 float

Enabled 공개적으로 프로퍼티

public bool Enabled
리턴 bool

InvIA 보호되어 있는 프로퍼티

protected float InvIA
리턴 float

InvIB 보호되어 있는 프로퍼티

protected float InvIB
리턴 float

InvMassA 보호되어 있는 프로퍼티

protected float InvMassA
리턴 float

InvMassB 보호되어 있는 프로퍼티

protected float InvMassB
리턴 float

LocalCenterA 보호되어 있는 프로퍼티

protected Vector2 LocalCenterA
리턴 Vector2