Question by 
               cmcmains · Mar 25, 2017 at 10:49 AM · 
                instantiateraycastobjectshooting  
              
 
              Shoot projectile towards the end of a raycast?
I'm trying to shoot a projectile from the end of one object to the middle of the screen. I had the idea of casting a ray from the center of the screen indefinitely outwards and then using its hit point and the object's location to get a vector to shoot towards. Would this work? And where would I look to get a start on this?
               Comment
              
 
               
              Your answer
 
             Follow this Question
Related Questions
FPS Raycasting vs Instantiate 0 Answers
Problem when instanciating objects on keypress 0 Answers
Another Alternating Weapon Fire issue.... 2 Answers
Character Shooting Mechanic 2D Issues 0 Answers