/// <summary> /// ■rigidbody:自分の車のRigidbody /// ■transform:自分の車のtrasnform /// ■wheelParams:タイヤの各状態時の滑り具合 /// </summary> /// <param name="rigidbody"></param> public VehicleMove(Rigidbody rigidbody, Transform transform, WheelParams wheelParams, VehicleSettings.DriftSettings driftSettings, VehicleSettings.SteerSensitivities steerSensitivities) { mRigidbody = rigidbody; mTransform = transform; mWheelParams = wheelParams; mSteeringScript = new SteeringScript(steerSensitivities); mDriftScript = new DriftScript(driftSettings); }
public SteeringScript(VehicleSettings.SteerSensitivities steerSensitivities) { mSensitivities = steerSensitivities; }