C# Класс BEPUphysics.Vehicle.WheelDrivingMotor

Handles a wheel's driving force for a vehicle.
Наследование: ISolverSettings
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
DefaultGripFrictionBlender WheelFrictionBlender

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

Метод Описание
BlendFriction ( float wheelFriction, float materialFriction, bool usingKinematicFriction, Wheel wheel ) : float

Function which takes the friction values from a wheel and a supporting material and computes the blended friction.

WheelDrivingMotor ( float gripFriction, float maximumForwardForce, float maximumBackwardForce ) : BEPUphysics.Constraints

Constructs a new wheel motor.

Приватные методы

Метод Описание
ApplyImpulse ( ) : float
ExclusiveUpdate ( ) : void
PreStep ( float dt ) : void
WheelDrivingMotor ( ) : BEPUphysics.Constraints
WheelDrivingMotor ( Wheel wheel ) : BEPUphysics.Constraints

Описание методов

BlendFriction() публичный статический метод

Function which takes the friction values from a wheel and a supporting material and computes the blended friction.
public static BlendFriction ( float wheelFriction, float materialFriction, bool usingKinematicFriction, Wheel wheel ) : float
wheelFriction float Friction coefficient associated with the wheel.
materialFriction float Friction coefficient associated with the support material.
usingKinematicFriction bool
wheel Wheel Wheel being blended.
Результат float

WheelDrivingMotor() публичный метод

Constructs a new wheel motor.
public WheelDrivingMotor ( float gripFriction, float maximumForwardForce, float maximumBackwardForce ) : BEPUphysics.Constraints
gripFriction float Friction coefficient of the wheel. Blended with the ground's friction coefficient and normal force to determine a maximum force.
maximumForwardForce float Maximum force that the wheel motor can apply when driving forward (a target speed greater than zero).
maximumBackwardForce float Maximum force that the wheel motor can apply when driving backward (a target speed less than zero).
Результат BEPUphysics.Constraints

Описание свойств

DefaultGripFrictionBlender публичное статическое свойство

Default blender used by WheelSlidingFriction constraints.
public static WheelFrictionBlender DefaultGripFrictionBlender
Результат WheelFrictionBlender