Property | Type | Description | |
---|---|---|---|
DefaultGripFrictionBlender | WheelFrictionBlender |
Method | Description | |
---|---|---|
BlendFriction ( float wheelFriction, float materialFriction, bool usingKinematicFriction, |
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.
|
Method | Description | |
---|---|---|
ApplyImpulse ( ) : float | ||
ExclusiveUpdate ( ) : void | ||
PreStep ( float dt ) : void | ||
WheelDrivingMotor ( ) : BEPUphysics.Constraints | ||
WheelDrivingMotor ( |
public static BlendFriction ( float wheelFriction, float materialFriction, bool usingKinematicFriction, |
||
wheelFriction | float | Friction coefficient associated with the wheel. |
materialFriction | float | Friction coefficient associated with the support material. |
usingKinematicFriction | bool | |
wheel | Wheel being blended. | |
return | float |
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). |
return | BEPUphysics.Constraints |