C# 클래스 Box2DX.Dynamics.RevoluteJoint

상속: Joint
파일 보기 프로젝트 열기: danielpcox/Crisis-at-Swiss-Station 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
_enableLimit bool
_enableMotor bool
_impulse Vec3
_limitState LimitState
_localAnchor1 Vec2
_localAnchor2 Vec2
_lowerAngle float
_mass Mat33
_maxMotorTorque float
_motorImpulse float
_motorMass float
_motorSpeed float
_referenceAngle float
_upperAngle float

공개 메소드들

메소드 설명
EnableLimit ( bool flag ) : void

Enable/disable the joint limit.

EnableMotor ( bool flag ) : void

Enable/disable the joint motor.

GetReactionForce ( float inv_dt ) : Vec2
GetReactionTorque ( float inv_dt ) : float
RevoluteJoint ( RevoluteJointDef def ) : System
SetLimits ( float lower, float upper ) : void

Set the joint limits in radians.

SetMaxMotorTorque ( float torque ) : void

Set the maximum motor torque, usually in N-m.

비공개 메소드들

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

메소드 상세

EnableLimit() 공개 메소드

Enable/disable the joint limit.
public EnableLimit ( bool flag ) : void
flag bool
리턴 void

EnableMotor() 공개 메소드

Enable/disable the joint motor.
public EnableMotor ( bool flag ) : void
flag bool
리턴 void

GetReactionForce() 공개 메소드

public GetReactionForce ( float inv_dt ) : Vec2
inv_dt float
리턴 Box2DX.Common.Vec2

GetReactionTorque() 공개 메소드

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

RevoluteJoint() 공개 메소드

public RevoluteJoint ( RevoluteJointDef def ) : System
def RevoluteJointDef
리턴 System

SetLimits() 공개 메소드

Set the joint limits in radians.
public SetLimits ( float lower, float upper ) : void
lower float
upper float
리턴 void

SetMaxMotorTorque() 공개 메소드

Set the maximum motor torque, usually in N-m.
public SetMaxMotorTorque ( float torque ) : void
torque float
리턴 void

프로퍼티 상세

_enableLimit 공개적으로 프로퍼티

public bool _enableLimit
리턴 bool

_enableMotor 공개적으로 프로퍼티

public bool _enableMotor
리턴 bool

_impulse 공개적으로 프로퍼티

public Vec3 _impulse
리턴 Vec3

_limitState 공개적으로 프로퍼티

public LimitState _limitState
리턴 LimitState

_localAnchor1 공개적으로 프로퍼티

public Vec2 _localAnchor1
리턴 Vec2

_localAnchor2 공개적으로 프로퍼티

public Vec2 _localAnchor2
리턴 Vec2

_lowerAngle 공개적으로 프로퍼티

public float _lowerAngle
리턴 float

_mass 공개적으로 프로퍼티

public Mat33 _mass
리턴 Mat33

_maxMotorTorque 공개적으로 프로퍼티

public float _maxMotorTorque
리턴 float

_motorImpulse 공개적으로 프로퍼티

public float _motorImpulse
리턴 float

_motorMass 공개적으로 프로퍼티

public float _motorMass
리턴 float

_motorSpeed 공개적으로 프로퍼티

public float _motorSpeed
리턴 float

_referenceAngle 공개적으로 프로퍼티

public float _referenceAngle
리턴 float

_upperAngle 공개적으로 프로퍼티

public float _upperAngle
리턴 float