C# Класс SharpNeat.DomainsExtra.WalkerBox2d.LegInterface

Interface onto a walker's leg.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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