C# Class BEPUphysics.Vehicle.WheelBrake

Attempts to resist rolling motion of a vehicle.
Inheritance: ISolverSettings
Afficher le fichier Open project: Indiefreaks/igf Class Usage Examples

Méthodes publiques

Свойство Type Description
DefaultRollingFrictionBlender WheelFrictionBlender

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
ApplyImpulse ( ) : float
ExclusiveUpdate ( ) : void
PreStep ( float dt ) : void
WheelBrake ( ) : System
WheelBrake ( Wheel wheel ) : System

Method Details

BlendFriction() public static méthode

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.
Résultat float

WheelBrake() public méthode

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.
Résultat System

Property Details

DefaultRollingFrictionBlender public_oe static_oe property

Default blender used by WheelRollingFriction constraints.
public static WheelFrictionBlender DefaultRollingFrictionBlender
Résultat WheelFrictionBlender