private void OnTriggerExit(Collider other) { Paraqueda pqd = other.GetComponent <Paraqueda>(); if (pqd != null) { pqd.drag = oldDrag; } }
private void OnTriggerEnter(Collider other) { Paraqueda pqd = other.GetComponent <Paraqueda>(); if (pqd != null) { oldDrag = pqd.drag; pqd.drag = ventoDirecao; } }