// public bool mPretendEngaged = false; void Start() { cRigid = GetComponent <Rigidbody>(); cAthlete = GetComponent <AI_Athlete>(); cTakesShove = GetComponent <AI_TakesShove>(); // for now everyone can accelerate at 5 meters/s^2 cAthlete.mAcc = 5f; }
void Start() { cRigid = GetComponent <Rigidbody>(); cAthlete = GetComponent <AI_Athlete>(); cTakeShove = GetComponent <AI_TakesShove>(); cGivShv = GetComponent <AI_GivesShove>(); cAcc = GetComponent <AI_Acc>(); }
private Rigidbody cRigid; // for momentum private void Start() { cAth = GetComponent <AI_Athlete>(); cTakesShove = GetComponent <AI_TakesShove>(); cRigid = GetComponent <Rigidbody>(); }