mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-23 04:23:04 +00:00
Remove commented code
This commit is contained in:
parent
3e4f8d91a1
commit
f90624c510
1 changed files with 1 additions and 8 deletions
|
@ -135,8 +135,6 @@ namespace SanAndreasUnity.Behaviours.Vehicles
|
|||
|
||||
private void PhysicsFixedUpdate()
|
||||
{
|
||||
//Debug.LogFormat("{0}?: {1}", _rigidBody == null, gameObject.GetGameObjectPath());
|
||||
//Debug.Break();
|
||||
|
||||
var groundRay = new Ray(transform.position + Vector3.up, -Vector3.up);
|
||||
//if (_rigidBody != null) // Must review: Why this is now null?
|
||||
|
@ -160,11 +158,6 @@ namespace SanAndreasUnity.Behaviours.Vehicles
|
|||
{
|
||||
if (ShouldSteer(wheel))
|
||||
{
|
||||
/*if (Steering != 0)
|
||||
{
|
||||
Debug.Log(HandlingData.SteeringLock);
|
||||
Debug.Break();
|
||||
}*/
|
||||
wheel.Collider.steerAngle = HandlingData.SteeringLock * Steering;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue