This question was 
             closed Apr 22, 2017 at 11:52 AM by 
             sickener for the following reason: 
             
 
            Other
 
               Question by 
               sickener · Apr 22, 2017 at 10:03 AM · 
                2dinstantiateshooting  
              
 
              ,how to Instantiate a bullet up when firePoint of the character goes up
      if(Input.GetKey(KeyCode.UpArrow))
         {
             firePoint.localPosition = new Vector3(0, 1);
             firePoint.Rotate(0, 0, 90);
         }
         if (Input.GetKeyDown(KeyCode.Space))
         {
             Instantiate(bullet, firePoint.position,firePoint.localRotation);
         }
 
               if i need to provide more code pls ask for it.What i am trying to do is i am trying to create a game where you can shoot your bullets to 8 different directions(up,upright,right...) but i cant make my bullets go up when i position my firePoint(which is a gameobject,child of character,you can think it as a gun) up.
               Comment