Example #1
0
    public AirRide(Transform transform, RayConfig.AirRideRayConfig rayConfig, VehicleSettings.AirRideSettings airRideSettings)
    {
        mTransform = transform;
        AirRideRay airRideRay = new AirRideRay(transform, rayConfig);

        mGroundFollow = new GroundFollow(transform, airRideRay, airRideSettings);
        mBodyFloat    = new BodyFloat(transform, airRideRay, airRideSettings);
    }
Example #2
0
 public AirRideRay(Transform transform, RayConfig.AirRideRayConfig airRideRay)
 {
     mTransform = transform; mRayConfig = airRideRay;
 }