C# 클래스 SharpNeat.DomainsExtra.WalkerBox2d.LegInterface

Interface onto a walker's leg.
파일 보기 프로젝트 열기: colgreen/sharpneat 1 사용 예제들

공개 메소드들

메소드 설명
LegInterface ( RevoluteJoint hipJoint, RevoluteJoint kneeJoint, Body lowerLegBody, float lowerLegLength ) : System

Construct leg interface onto the provided Box2D leg joints.

SetHipJointTorque ( float torque ) : void

Sets the hip joint's torque.

SetKneeJointTorque ( float torque ) : void

Sets the knee joint's torque.

비공개 메소드들

메소드 설명
SetJointTorque ( RevoluteJoint joint, float torque ) : void

메소드 상세

LegInterface() 공개 메소드

Construct leg interface onto the provided Box2D leg joints.
public LegInterface ( RevoluteJoint hipJoint, RevoluteJoint kneeJoint, Body lowerLegBody, float lowerLegLength ) : System
hipJoint Box2DX.Dynamics.RevoluteJoint
kneeJoint Box2DX.Dynamics.RevoluteJoint
lowerLegBody Box2DX.Dynamics.Body
lowerLegLength float
리턴 System

SetHipJointTorque() 공개 메소드

Sets the hip joint's torque.
public SetHipJointTorque ( float torque ) : void
torque float
리턴 void

SetKneeJointTorque() 공개 메소드

Sets the knee joint's torque.
public SetKneeJointTorque ( float torque ) : void
torque float
리턴 void