void Awake() { // hit = GetComponent<RaycastHit>(); parent = GetComponentInParent<Rigidbody>(); drawRay = GetComponent<DrawDebugRays>(); }
void Awake() { carRigidBody = GetComponentInParent<Rigidbody>(); drawRay = GetComponentInParent<DrawDebugRays>(); }