public void AddHitBox(VehicleEntity vehicle) { if (!vehicle.hasCarHitBox) { vehicle.AddCarHitBox(new Vector3[(int)VehiclePartIndex.MaxFlexibleCount], new Quaternion[(int)VehiclePartIndex.MaxFlexibleCount], new Vector3[(int)VehiclePartIndex.MaxWheelCount], new Quaternion[(int)VehiclePartIndex.MaxWheelCount]); } }