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

Allows the connected wheel and vehicle to smoothly absorb bumps.
Наследование: ISpringSettings, ISolverSettings
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
WheelSuspension ( float stiffnessConstant, float dampingConstant, Vector3 localDirection, float restLength, Vector3 localAttachmentPoint ) : BEPUphysics.Constraints

Constructs a new suspension for a wheel.

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

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

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

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

Constructs a new suspension for a wheel.
public WheelSuspension ( float stiffnessConstant, float dampingConstant, Vector3 localDirection, float restLength, Vector3 localAttachmentPoint ) : BEPUphysics.Constraints
stiffnessConstant float Strength of the spring. Higher values resist compression more.
dampingConstant float Damping constant of the spring. Higher values remove more momentum.
localDirection Vector3 Direction of the suspension in the vehicle's local space. For a normal, straight down suspension, this would be (0, -1, 0).
restLength float Length of the suspension when uncompressed.
localAttachmentPoint Vector3 Place where the suspension hooks up to the body of the vehicle.
Результат BEPUphysics.Constraints