C# 클래스 FarseerPhysics.Dynamics.Joints.MotorJoint

A motor joint is used to control the relative motion between two bodies. A typical usage is to control the movement of a dynamic body with respect to the ground.
상속: Joint
파일 보기 프로젝트 열기: prime31/Nez 1 사용 예제들

공개 메소드들

메소드 설명
MotorJoint ( Body bodyA, Body bodyB, bool useWorldCoordinates = false ) : System.Diagnostics

Constructor for MotorJoint.

getReactionForce ( float invDt ) : Vector2
getReactionTorque ( float invDt ) : float

비공개 메소드들

메소드 설명
MotorJoint ( ) : System.Diagnostics
initVelocityConstraints ( SolverData &data ) : void
solvePositionConstraints ( SolverData &data ) : bool
solveVelocityConstraints ( SolverData &data ) : void

메소드 상세

MotorJoint() 공개 메소드

Constructor for MotorJoint.
public MotorJoint ( Body bodyA, Body bodyB, bool useWorldCoordinates = false ) : System.Diagnostics
bodyA Body The first body
bodyB Body The second body
useWorldCoordinates bool Set to true if you are using world coordinates as anchors.
리턴 System.Diagnostics

getReactionForce() 공개 메소드

public getReactionForce ( float invDt ) : Vector2
invDt float
리턴 Microsoft.Xna.Framework.Vector2

getReactionTorque() 공개 메소드

public getReactionTorque ( float invDt ) : float
invDt float
리턴 float