C# Class BEPUphysics.Vehicle.WheelDrivingMotor

Handles a wheel's driving force for a vehicle.
Inheritance: ISolverSettings
Afficher le fichier Open project: Indiefreaks/igf Class Usage Examples

Méthodes publiques

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

WheelDrivingMotor ( float gripFriction, float maximumForwardForce, float maximumBackwardForce ) : BEPUphysics.Constraints

Constructs a new wheel motor.

Private Methods

Méthode Description
ApplyImpulse ( ) : float
ExclusiveUpdate ( ) : void
PreStep ( float dt ) : void
WheelDrivingMotor ( ) : BEPUphysics.Constraints
WheelDrivingMotor ( Wheel wheel ) : BEPUphysics.Constraints

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

WheelDrivingMotor() public méthode

Constructs a new wheel motor.
public WheelDrivingMotor ( float gripFriction, float maximumForwardForce, float maximumBackwardForce ) : BEPUphysics.Constraints
gripFriction float Friction coefficient of the wheel. Blended with the ground's friction coefficient and normal force to determine a maximum force.
maximumForwardForce float Maximum force that the wheel motor can apply when driving forward (a target speed greater than zero).
maximumBackwardForce float Maximum force that the wheel motor can apply when driving backward (a target speed less than zero).
Résultat BEPUphysics.Constraints

Property Details

DefaultGripFrictionBlender public_oe static_oe property

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