How would I make a gun be able to aim?

  1. What do you want to achieve?
    I want to have a simple ray casting gun that I already have made be able to be aimed when right clicking.
  2. What is the issue?
    I don’t know where to start.
  3. What solutions have you tried so far?
    I have read something about a “View Model” and how it is commonly used in FPS games.

I am an experienced scripter I just have no idea how to do this, I already made the gun I just want to aim it.

Never mind, I can just change the camera’s FOV when MouseButton2 is down.

2 Likes