WheelHit.sidewaysSlip 侧面滑动
var sidewaysSlip : float
Description描述
Tire slip in the sideways direction.
在侧面方向上的滑动。
// Prints "braking slip!" when tire slips badly.// 当轮胎滑动时打印"Braking Slip!"function FixedUpdate() {var hit : WheelHit;var wheel : WheelCollider = GetComponent(WheelCollider);if( wheel.GetGroundHit( hit ) ) {if( hit.forwardSlip > 0.5 )print ("braking slip!");}}