Hey! So i’m using line trace and was wondering how to make each gun have different stats. Like accuracy, fire rate, damage, and range. Any suggestions?
Each stat impacts the associated behavior.
EG the direction of the trace is determined by RandomVector in cone, and spread dictates size of cone.
Use a Struct that contains your information of accuracy and everytime you fire a weapon, read the information out of this struct.
Ok thanks! I messed around and figured it out! I also got my range and fire rate to work! Thanks this helped me a lot!
Just a quick video answering your question for my patreons. This is a video to demonstrate some of the things that can be learned from joining my patreon page.
Unreal Engine 4 - (Tutorial) Building Basic Weapon Mechanics 2
If you like what you learn in this video feel free to join my patreon page at the $10 tier and you will gain access to every tutorial video I make now and in the future!
Thanks man! I am watching your video and will defiantly join your patreon as soon as my kickstarter launches! thanks!