FPS Tutorial Series #11.5 - Bullet Spread (fixes) - Unity

Опубликовано: 30 Апрель 2026
на канале: Yaseen Mujahid
4,918
141

Follow up from the previous FPS tutorial video, sorry about the extreme delays. I need to get that motivation going.

We'll be fixing the main logic-based issue with bullet spread, from the previous video.

► Timestamps:
= Intro - 00:42
= Issue Demo - 01:06
= Explanation - 01:30
= Fin - 05:00
----------------------------------------------------------------------------

► Code Snippet (for lazy bois like me):

shootDirection = shootDirection + shootPoint.TransformDirection(new Vector3(Random.Range(-spreadFactor, spreadFactor), Random.Range(-spreadFactor, spreadFactor)));
----------------------------------------------------------------------------

╔►Fiverr: https://www.fiverr.com/yaseenmujahid
╚►Fiverr Gigs:
https://www.fiverr.com/yaseenmujahid/...
https://www.fiverr.com/yaseenmujahid/...

Check out:
╔►Facebook:   / 10yaseen1  
╠►Deviant Art: http://10yaseen1.deviantart.com/
╠►Player.me: https://player.me/10yaseen1
╠►Twitter:   / yaseenmujahid  
╠►Picarto: https://picarto.tv/Yaseen
╠►Discord:   / discord  
╚►Patreon:   / 10yaseen1   (Will be taken down soon)

My Rig:
╔►CPU: Intel Core i7 8700K @ 4.3GHz
╠►GPU: Gigabyte RTX 2080 8GB
╠►OS: Windows 10 Home 64 bit
╠►RAM: Corsair Vengeance DDR4 2400MHZ 2x8GB
╚►Motherboard: Z370 Aorus Gaming 5

Anyways, rate, comment and subscribe for more. Share it with anyone you think might be interested, would be really appreciated. And thanks for all the support!
------------------------------------------------------

• Licence:

► Go For More by HookSounds http://www.hooksounds.com/
Creative Commons — Attribution 4.0 International — CC BY 4.0
https://creativecommons.org/licenses/...
Music provided by Audio Library    • Video  

► Electronic Vibes by HookSounds http://www.hooksounds.com/
Creative Commons — Attribution 4.0 International — CC BY 4.0
https://creativecommons.org/licenses/...
Music provided by Audio Library    • Video  

► And all the memes, that I do not own.
------------------------------------------------------

Keywords:
unity
unity 5
fps
unity fps
fps tutorial
first person shooter
let's make a game
tutorial series
reloading
animating
mecanim
animation
intermediate animation
state machine
state machine behaviours
aiming down sights
weapon switching
ui
basic ui
cats
accuracy
bullet spread
fixes