public float nonAvoidRange; //range of area where no need to avoid // Use this for initialization void Start() { rWall = new Robotic_Wall(); rWall.Set_Robotic_Wall(this.gameObject); tracker = transform.parent.gameObject.GetComponent <SteamVR_TrackedObject>(); device = SteamVR_Controller.Input((int)tracker.index); wallPredict = Vector3.zero; }
private void Start() { //initiate this FSM of the robotic wall Addstate(State.stand_by); Addstate(State.door); Addstate(State.wall); Addstate(State.elevator); curState = State.stand_by; robotic_Wall = new Robotic_Wall(); robotic_Wall.Set_Robotic_Wall(this.gameObject); }
// Use this for initialization void Start() { rWall = new Robotic_Wall(); rWall.Set_Robotic_Wall(roboWall); }
// Use this for initialization void Start() { RWall = new Robotic_Wall(); RWall.Set_Robotic_Wall(robotic_wall); }