Remove commented code

This commit is contained in:
in0finite 2019-05-23 01:58:01 +02:00
parent 3e4f8d91a1
commit f90624c510

View file

@ -135,8 +135,6 @@ namespace SanAndreasUnity.Behaviours.Vehicles
private void PhysicsFixedUpdate() private void PhysicsFixedUpdate()
{ {
//Debug.LogFormat("{0}?: {1}", _rigidBody == null, gameObject.GetGameObjectPath());
//Debug.Break();
var groundRay = new Ray(transform.position + Vector3.up, -Vector3.up); var groundRay = new Ray(transform.position + Vector3.up, -Vector3.up);
//if (_rigidBody != null) // Must review: Why this is now null? //if (_rigidBody != null) // Must review: Why this is now null?
@ -160,11 +158,6 @@ namespace SanAndreasUnity.Behaviours.Vehicles
{ {
if (ShouldSteer(wheel)) if (ShouldSteer(wheel))
{ {
/*if (Steering != 0)
{
Debug.Log(HandlingData.SteeringLock);
Debug.Break();
}*/
wheel.Collider.steerAngle = HandlingData.SteeringLock * Steering; wheel.Collider.steerAngle = HandlingData.SteeringLock * Steering;
} }