Property | Type | Description | |
---|---|---|---|
DefaultSlidingFrictionBlender | 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.
|
|
WheelSlidingFriction ( float dynamicCoefficient, float staticCoefficient ) : System |
Constructs a new sliding friction object for a wheel.
|
Method | Description | |
---|---|---|
ApplyImpulse ( ) : float | ||
ExclusiveUpdate ( ) : void | ||
PreStep ( float dt ) : void | ||
WheelSlidingFriction ( ) : System | ||
WheelSlidingFriction ( |
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 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. |
return | System |