C# 클래스 Box2DX.Dynamics.PrismaticJoint

A prismatic joint. This joint provides one degree of freedom: translation along an axis fixed in body1. Relative rotation is prevented. You can use a joint limit to restrict the range of motion and a joint motor to drive the motion or to model joint friction.
상속: Joint
파일 보기 프로젝트 열기: danielpcox/Crisis-at-Swiss-Station 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
_K Box2DX.Common.Mat33
_a1 float
_axis Box2DX.Common.Vec2
_enableLimit bool
_enableMotor bool
_impulse Box2DX.Common.Vec3
_limitState LimitState
_localAnchor1 Box2DX.Common.Vec2
_localAnchor2 Box2DX.Common.Vec2
_localXAxis1 Box2DX.Common.Vec2
_localYAxis1 Box2DX.Common.Vec2
_lowerTranslation float
_maxMotorForce float
_motorImpulse float
_motorMass float
_motorSpeed float
_refAngle float
_s1 float
_upperTranslation 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
PrismaticJoint ( PrismaticJointDef def ) : System
SetLimits ( float lower, float upper ) : void

Set the joint limits, usually in meters.

SetMaxMotorForce ( float force ) : void

Set the maximum motor force, usually in N.

비공개 메소드들

메소드 설명
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

PrismaticJoint() 공개 메소드

public PrismaticJoint ( PrismaticJointDef def ) : System
def PrismaticJointDef
리턴 System

SetLimits() 공개 메소드

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

SetMaxMotorForce() 공개 메소드

Set the maximum motor force, usually in N.
public SetMaxMotorForce ( float force ) : void
force float
리턴 void

프로퍼티 상세

_K 공개적으로 프로퍼티

public Mat33,Box2DX.Common _K
리턴 Box2DX.Common.Mat33

_a1 공개적으로 프로퍼티

public float _a1
리턴 float

_axis 공개적으로 프로퍼티

public Vec2,Box2DX.Common _axis
리턴 Box2DX.Common.Vec2

_enableLimit 공개적으로 프로퍼티

public bool _enableLimit
리턴 bool

_enableMotor 공개적으로 프로퍼티

public bool _enableMotor
리턴 bool

_impulse 공개적으로 프로퍼티

public Vec3,Box2DX.Common _impulse
리턴 Box2DX.Common.Vec3

_limitState 공개적으로 프로퍼티

public LimitState _limitState
리턴 LimitState

_localAnchor1 공개적으로 프로퍼티

public Vec2,Box2DX.Common _localAnchor1
리턴 Box2DX.Common.Vec2

_localAnchor2 공개적으로 프로퍼티

public Vec2,Box2DX.Common _localAnchor2
리턴 Box2DX.Common.Vec2

_localXAxis1 공개적으로 프로퍼티

public Vec2,Box2DX.Common _localXAxis1
리턴 Box2DX.Common.Vec2

_localYAxis1 공개적으로 프로퍼티

public Vec2,Box2DX.Common _localYAxis1
리턴 Box2DX.Common.Vec2

_lowerTranslation 공개적으로 프로퍼티

public float _lowerTranslation
리턴 float

_maxMotorForce 공개적으로 프로퍼티

public float _maxMotorForce
리턴 float

_motorImpulse 공개적으로 프로퍼티

public float _motorImpulse
리턴 float

_motorMass 공개적으로 프로퍼티

public float _motorMass
리턴 float

_motorSpeed 공개적으로 프로퍼티

public float _motorSpeed
리턴 float

_refAngle 공개적으로 프로퍼티

public float _refAngle
리턴 float

_s1 공개적으로 프로퍼티

public float _s1
리턴 float

_upperTranslation 공개적으로 프로퍼티

public float _upperTranslation
리턴 float