How can I make a gun system?

GUNS
Hi, I need a gun system for my game. I don’t want to use ACS or CE or anything like that. I wanted to make my own gun system.
TYPE
I want it to be both able to be 1st person and 3rd person.

POINT
How could I do this? (I have models already.)

2 Likes

2nd person? Do you mean 3rd person?
Also, I would recommend using OOP for this and having a gun class. This way, you can have multiple guns that rely on the same process so it’s easier to manage.
Then, you can separately manage camera angles and stuff like that to achieve your desired goal. If you use mouse.Hit, it’ll work regardless of whether or not it is 1st or 3rd person.

4 Likes

Thanks, I will try that.
(ANd yeah, I did mean 3rd person, I changed it)

3 Likes

There are a lot of posts that already covered this

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.