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

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

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

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

WheelSlidingFriction ( float dynamicCoefficient, float staticCoefficient ) : System

Constructs a new sliding friction object for a wheel.

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

Метод Описание
ApplyImpulse ( ) : float
ExclusiveUpdate ( ) : void
PreStep ( float dt ) : void
WheelSlidingFriction ( ) : System
WheelSlidingFriction ( 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

WheelSlidingFriction() публичный Метод

Constructs a new sliding friction object for a wheel.
public WheelSlidingFriction ( float dynamicCoefficient, float staticCoefficient ) : System
dynamicCoefficient float Coefficient of dynamic sliding friction to be blended with the supporting entity's friction.
staticCoefficient float Coefficient of static sliding friction to be blended with the supporting entity's friction.
Результат System

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

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

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