Unity Tutorial: Realistic Shooting using Raycasting @PitiITNet
Unity Tutorial: Realistic Shooting using Raycasting  @PitiITNet
Uploaded January 2022 | Updated September 2026, 2 days ago
Today we will learn how to create a shooting for a top down shooter game. We'll do it using raycast. As a part of the tutorial we will create Bullet Trail and Muzzle Flash effect.

I hope this and the previous tutorial about top-down movement (youtube.com/watch?v=sBmsqVwGd2E) will give you solid foundation for a great game! We built upon the movement created there so it may be beneficial if you want to follow the tutorial step by step rather than get the general idea.

Also I think you may benefit from having a look at the Vectors guide as we will be working with them a lot: youtube.com/watch?v=sYf4bSj9j2w

#unity #topdown #shooter #shooting

00:00 - Intro
00:15 - What is Raycasting
00:39 - Implementation
01:02 - Bullet Trail Object
02:20 - Vectors Extension
03:25 - Bullet Trail Script
04:23 - Shooting
06:04 - Muzzle Flash
07:40 - End result
Unity Tutorial: Realistic Shooting using Raycasting
PitiIT |

Unity Tutorial: Realistic Shooting using Raycasting

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER