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
Смотрите видео Unity Tutorial: Realistic Shooting using Raycasting онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал PitiIT 12 Январь 2022. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 20,254 раз и оно понравилось 365 посетителям.