C# 클래스 Box2D.Dynamics.Joints.RevoluteJoint

A revolute joint constrains two bodies to share a common point while they are free to rotate about the point. The relative rotation about the shared point is the joint angle. You can limit the relative rotation with a joint limit that specifies a lower and upper angle. You can use a motor to drive the relative rotation about the shared point. A maximum motor torque is provided so that infinite forces are not generated.
상속: Joint
파일 보기 프로젝트 열기: gerich-home/box2dnet

공개 프로퍼티들

프로퍼티 타입 설명
Impulse Box2D.Common.Vec3
IndexA int
IndexB int
InvIA float
InvIB float
InvMassA float
InvMassB float
LimitState LimitState
LocalAnchorA Box2D.Common.Vec2
LocalAnchorB Box2D.Common.Vec2
LocalCenterA Box2D.Common.Vec2
LocalCenterB Box2D.Common.Vec2
LowerAngle float
Mass Box2D.Common.Mat33
MotorImpulse float
MotorMass float
RA Box2D.Common.Vec2
RB Box2D.Common.Vec2
ReferenceAngle float
UpperAngle float

공개 메소드들

메소드 설명
GetAnchorA ( Vec2 argOut ) : void
GetAnchorB ( Vec2 argOut ) : void
GetMotorTorque ( float inv_dt ) : float
GetReactionForce ( float inv_dt, Vec2 argOut ) : void
GetReactionTorque ( float inv_dt ) : float
InitVelocityConstraints ( SolverData data ) : void
RevoluteJoint ( IWorldPool argWorld, RevoluteJointDef def ) : System
SolvePositionConstraints ( SolverData data ) : bool
SolveVelocityConstraints ( SolverData data ) : void
setLimits ( float lower, float upper ) : void

메소드 상세

GetAnchorA() 공개 메소드

public GetAnchorA ( Vec2 argOut ) : void
argOut Box2D.Common.Vec2
리턴 void

GetAnchorB() 공개 메소드

public GetAnchorB ( Vec2 argOut ) : void
argOut Box2D.Common.Vec2
리턴 void

GetMotorTorque() 공개 메소드

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

GetReactionForce() 공개 메소드

public GetReactionForce ( float inv_dt, Vec2 argOut ) : void
inv_dt float
argOut Box2D.Common.Vec2
리턴 void

GetReactionTorque() 공개 메소드

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

InitVelocityConstraints() 공개 메소드

public InitVelocityConstraints ( SolverData data ) : void
data SolverData
리턴 void

RevoluteJoint() 공개 메소드

public RevoluteJoint ( IWorldPool argWorld, RevoluteJointDef def ) : System
argWorld IWorldPool
def RevoluteJointDef
리턴 System

SolvePositionConstraints() 공개 메소드

public SolvePositionConstraints ( SolverData data ) : bool
data SolverData
리턴 bool

SolveVelocityConstraints() 공개 메소드

public SolveVelocityConstraints ( SolverData data ) : void
data SolverData
리턴 void

setLimits() 공개 메소드

public setLimits ( float lower, float upper ) : void
lower float
upper float
리턴 void

프로퍼티 상세

Impulse 공개적으로 프로퍼티

public Vec3,Box2D.Common Impulse
리턴 Box2D.Common.Vec3

IndexA 공개적으로 프로퍼티

public int IndexA
리턴 int

IndexB 공개적으로 프로퍼티

public int IndexB
리턴 int

InvIA 공개적으로 프로퍼티

public float InvIA
리턴 float

InvIB 공개적으로 프로퍼티

public float InvIB
리턴 float

InvMassA 공개적으로 프로퍼티

public float InvMassA
리턴 float

InvMassB 공개적으로 프로퍼티

public float InvMassB
리턴 float

LimitState 공개적으로 프로퍼티

public LimitState LimitState
리턴 LimitState

LocalAnchorA 공개적으로 프로퍼티

public Vec2,Box2D.Common LocalAnchorA
리턴 Box2D.Common.Vec2

LocalAnchorB 공개적으로 프로퍼티

public Vec2,Box2D.Common LocalAnchorB
리턴 Box2D.Common.Vec2

LocalCenterA 공개적으로 프로퍼티

public Vec2,Box2D.Common LocalCenterA
리턴 Box2D.Common.Vec2

LocalCenterB 공개적으로 프로퍼티

public Vec2,Box2D.Common LocalCenterB
리턴 Box2D.Common.Vec2

LowerAngle 공개적으로 프로퍼티

public float LowerAngle
리턴 float

Mass 공개적으로 프로퍼티

public Mat33,Box2D.Common Mass
리턴 Box2D.Common.Mat33

MotorImpulse 공개적으로 프로퍼티

public float MotorImpulse
리턴 float

MotorMass 공개적으로 프로퍼티

public float MotorMass
리턴 float

RA 공개적으로 프로퍼티

public Vec2,Box2D.Common RA
리턴 Box2D.Common.Vec2

RB 공개적으로 프로퍼티

public Vec2,Box2D.Common RB
리턴 Box2D.Common.Vec2

ReferenceAngle 공개적으로 프로퍼티

public float ReferenceAngle
리턴 float

UpperAngle 공개적으로 프로퍼티

public float UpperAngle
리턴 float