void Start()
 {
     foreach(GameObject element in ignoreObjects) {
         Physics.IgnoreCollision(element.collider, collider);
     }
     defaultPosition = new Vector3(-0.7f, 0.0f, -0.7f);
     gameMaster = (GameMaster)gameObject.GetComponent(typeof(GameMaster));
     hud = (HUD)gameObject.GetComponent(typeof(HUD));
     control = intToType(PrefHolder.newInt("control", 0));
     if(hud != null) {
         hud.showAimButton(control == Type.Joystick);
     }
 }