C# 클래스 Box2DX.Dynamics.Joint

파일 보기 프로젝트 열기: KrugerHeavyIndustries/box2d-unity 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_invMass1 float
_invMass2 float
_localCenter1 System.Vector2
_type JointType
_userData object

공개 메소드들

메소드 설명
GetBody1 ( ) : Body

Get the first body attached to this joint.

GetBody2 ( ) : Body

Get the second body attached to this joint.

GetNext ( ) : Joint

Get the next joint the world joint list.

GetReactionForce ( float inv_dt ) : System.Vector2

Get the reaction force on body2 at the joint anchor.

GetReactionTorque ( float inv_dt ) : float

Get the reaction torque on body2.

GetType ( ) : JointType

Get the type of the concrete joint.

보호된 메소드들

메소드 설명
Joint ( JointDef def ) : System

비공개 메소드들

메소드 설명
ComputeTransform ( Box2DX.Common.Transform &xf, System.Vector2 center, System.Vector2 localCenter, float angle ) : void
Create ( JointDef def ) : Joint
Destroy ( Joint joint ) : void
InitVelocityConstraints ( TimeStep step ) : void
SolvePositionConstraints ( float baumgarte ) : bool
SolveVelocityConstraints ( TimeStep step ) : void

메소드 상세

GetBody1() 공개 메소드

Get the first body attached to this joint.
public GetBody1 ( ) : Body
리턴 Body

GetBody2() 공개 메소드

Get the second body attached to this joint.
public GetBody2 ( ) : Body
리턴 Body

GetNext() 공개 메소드

Get the next joint the world joint list.
public GetNext ( ) : Joint
리턴 Joint

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

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

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

Get the reaction torque on body2.
public abstract GetReactionTorque ( float inv_dt ) : float
inv_dt float
리턴 float

GetType() 공개 메소드

Get the type of the concrete joint.
public GetType ( ) : JointType
리턴 JointType

Joint() 보호된 메소드

protected Joint ( JointDef def ) : System
def JointDef
리턴 System

프로퍼티 상세

_invMass1 보호되어 있는 프로퍼티

protected float _invMass1
리턴 float

_invMass2 보호되어 있는 프로퍼티

protected float _invMass2
리턴 float

_localCenter1 보호되어 있는 프로퍼티

protected Vector2,System _localCenter1
리턴 System.Vector2

_type 보호되어 있는 프로퍼티

protected JointType _type
리턴 JointType

_userData 보호되어 있는 프로퍼티

protected object _userData
리턴 object