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 ( • Unity Tutorial: Top down shooter move... ) 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: • Unity Tutorial: Everything you need t...
#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
Watch video Unity Tutorial: Realistic Shooting using Raycasting online, duration hours minute second in high quality that is uploaded to the channel PitiIT 12 January 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 20,254 times and liked it 365 visitors.