C# Class BEPUphysics.Vehicle.WheelSlidingFriction

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

Méthodes publiques

Свойство Type Description
DefaultSlidingFrictionBlender 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.

WheelSlidingFriction ( float dynamicCoefficient, float staticCoefficient ) : System

Constructs a new sliding friction object for a wheel.

Private Methods

Méthode Description
ApplyImpulse ( ) : float
ExclusiveUpdate ( ) : void
PreStep ( float dt ) : void
WheelSlidingFriction ( ) : System
WheelSlidingFriction ( 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

WheelSlidingFriction() public méthode

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

Property Details

DefaultSlidingFrictionBlender public_oe static_oe property

Default blender used by WheelSlidingFriction constraints.
public static WheelFrictionBlender DefaultSlidingFrictionBlender
Résultat WheelFrictionBlender