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

A distance joint constrains two points on two bodies to remain at a fixed distance from each other. You can view this as a massless, rigid rod.
상속: Joint
파일 보기 프로젝트 열기: gerich-home/box2dnet 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Bias float
DampingRatio float
FrequencyHz float
Gamma float
Impulse float
IndexA int
IndexB int
InvIA float
InvIB float
InvMassA float
InvMassB float
Length float
LocalAnchorA Box2D.Common.Vec2
LocalAnchorB Box2D.Common.Vec2
LocalCenterA Box2D.Common.Vec2
LocalCenterB Box2D.Common.Vec2
Mass float
RA Box2D.Common.Vec2
RB Box2D.Common.Vec2
U Box2D.Common.Vec2

공개 메소드들

메소드 설명
DistanceJoint ( IWorldPool argWorld, DistanceJointDef def ) : Box2D.Common
GetAnchorA ( Vec2 argOut ) : void
GetAnchorB ( Vec2 argOut ) : void
GetReactionForce ( float inv_dt, Vec2 argOut ) : void

Get the reaction force given the inverse time step. Unit is N.

GetReactionTorque ( float inv_dt ) : float

Get the reaction torque given the inverse time step. Unit is N*m. This is always zero for a distance joint.

InitVelocityConstraints ( SolverData data ) : void
SolvePositionConstraints ( SolverData data ) : bool
SolveVelocityConstraints ( SolverData data ) : void

메소드 상세

DistanceJoint() 공개 메소드

public DistanceJoint ( IWorldPool argWorld, DistanceJointDef def ) : Box2D.Common
argWorld IWorldPool
def DistanceJointDef
리턴 Box2D.Common

GetAnchorA() 공개 메소드

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

GetAnchorB() 공개 메소드

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

GetReactionForce() 공개 메소드

Get the reaction force given the inverse time step. Unit is N.
public GetReactionForce ( float inv_dt, Vec2 argOut ) : void
inv_dt float
argOut Box2D.Common.Vec2
리턴 void

GetReactionTorque() 공개 메소드

Get the reaction torque given the inverse time step. Unit is N*m. This is always zero for a distance joint.
public GetReactionTorque ( float inv_dt ) : float
inv_dt float
리턴 float

InitVelocityConstraints() 공개 메소드

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

SolvePositionConstraints() 공개 메소드

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

SolveVelocityConstraints() 공개 메소드

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

프로퍼티 상세

Bias 공개적으로 프로퍼티

public float Bias
리턴 float

DampingRatio 공개적으로 프로퍼티

public float DampingRatio
리턴 float

FrequencyHz 공개적으로 프로퍼티

public float FrequencyHz
리턴 float

Gamma 공개적으로 프로퍼티

public float Gamma
리턴 float

Impulse 공개적으로 프로퍼티

public float Impulse
리턴 float

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

Length 공개적으로 프로퍼티

public float Length
리턴 float

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

Mass 공개적으로 프로퍼티

public float Mass
리턴 float

RA 공개적으로 프로퍼티

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

RB 공개적으로 프로퍼티

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

U 공개적으로 프로퍼티

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