*
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public static class CarMath {
|
||||
|
||||
public static float Drag(float environmentDensity, float velocity, float dragCoeff, float area){
|
||||
return 0.5f * environmentDensity * (velocity * velocity) * dragCoeff * area;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user