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

Supports a Vehicle.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Wheel ( WheelShape shape ) : System

Constructs a new wheel. The WheelSlidingFriction, WheelBrake, WheelSuspension, and WheelDrivingMotor should be configured prior to using this wheel.

Wheel ( WheelShape shape, WheelSuspension suspension, WheelDrivingMotor motor, WheelBrake rollingFriction, WheelSlidingFriction slidingFriction ) : System

Constructs a new wheel.

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

Метод Описание
ApplyImpulse ( ) : bool

Applies impulses and returns whether or not this wheel should be updated more.

ExclusiveUpdate ( ) : void
FindSupport ( ) : void
OnAddedToVehicle ( Vehicle vehicle ) : void
OnAdditionToSpace ( ISpace space ) : void
OnRemovalFromSpace ( ISpace space ) : void
OnRemovedFromVehicle ( ) : void
PreStep ( float dt ) : void
UpdateAtEndOfFrame ( float dt ) : void
UpdateAtEndOfUpdate ( float dt ) : void
UpdateDuringForces ( float dt ) : void
UpdateSolverActivity ( ) : void

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

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

Constructs a new wheel. The WheelSlidingFriction, WheelBrake, WheelSuspension, and WheelDrivingMotor should be configured prior to using this wheel.
public Wheel ( WheelShape shape ) : System
shape WheelShape Shape of the wheel.
Результат System

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

Constructs a new wheel.
public Wheel ( WheelShape shape, WheelSuspension suspension, WheelDrivingMotor motor, WheelBrake rollingFriction, WheelSlidingFriction slidingFriction ) : System
shape WheelShape Shape of the wheel.
suspension WheelSuspension Springy support of the vehicle.
motor WheelDrivingMotor Driving force for the wheel.
rollingFriction WheelBrake Friction force resisting the forward and backward motion of the wheel.
slidingFriction WheelSlidingFriction Friction force resisting the side to side motion of the wheel.
Результат System