Question by
Norwad · May 30, 2017 at 10:43 PM ·
3dsidescroller
How do I aim for the gun follow the mouse?
I'm doing a 3D-game, Side-Scrolling, and I need the shot to be done in the direction the mouse is, but I have no idea how to do it.
Can someone help me?
Comment
Answer by Sleeper75 · May 31, 2017 at 01:09 AM
google Raycasting, furthermore google basic tutorials that cover aiming and side scrollers, most contain scripts. if you have no scripting experience making a sidescroller would be difficult.
Your answer
![](https://koobas.hobune.stream/wayback/20220612123134im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Side Scroller with 2D Character and 3D Enviornments. 0 Answers
3D Side Scroller Gun PickUp 0 Answers
Can't get raycast to mousePosition 0 Answers