Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 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);
 }
Ejemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     rWall = new Robotic_Wall();
     rWall.Set_Robotic_Wall(roboWall);
 }
Ejemplo n.º 4
0
 // Use this for initialization
 void Start()
 {
     RWall = new Robotic_Wall();
     RWall.Set_Robotic_Wall(robotic_wall);
 }