Question by 
               Patahuete · Mar 26, 2021 at 10:35 PM · 
                angleprojectileanglesspace shooter  
              
 
              Changing a projectile's angle ?
Hello everyone, I'm doing a small space shooter as a school project, and while implementing more and more gameplay features, I wanted to add a way to swap between : a single projectile send straight in front of the player, and a 2-projectiles mode where each projectile was send at a 45° angle from the player in two directions. I use a simple script that instantiate a bullet going at a certain speed on the y axis. The thing is that I'm not really sure how to use Quaternions to change the bullet's angle... Have you got any idea to help me implement this ?  I tried to be as clear as possible, thanks for your help :D
 I tried to be as clear as possible, thanks for your help :D
 
                 
                code.png 
                (196.9 kB) 
               
 
              
               Comment
              
 
               
              Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                