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

Attempts to resist rolling motion of a vehicle.
Наследование: ISolverSettings
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
DefaultRollingFrictionBlender 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.

WheelBrake ( float dynamicBrakingFrictionCoefficient, float staticBrakingFrictionCoefficient, float rollingFrictionCoefficient ) : System

Constructs a new rolling friction object for a wheel.

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

Метод Описание
ApplyImpulse ( ) : float
ExclusiveUpdate ( ) : void
PreStep ( float dt ) : void
WheelBrake ( ) : System
WheelBrake ( Wheel wheel ) : System

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

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

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

Constructs a new rolling friction object for a wheel.
public WheelBrake ( float dynamicBrakingFrictionCoefficient, float staticBrakingFrictionCoefficient, float rollingFrictionCoefficient ) : System
dynamicBrakingFrictionCoefficient float Coefficient of dynamic friction of the wheel for friction when the brake is active.
staticBrakingFrictionCoefficient float Coefficient of static friction of the wheel for friction when the brake is active.
rollingFrictionCoefficient float Coefficient of friction of the wheel for rolling friction when the brake isn't active.
Результат System

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

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

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