How to make a Place-able Explosion in Unity 2017+ | Unity Tutorials | Explosions

Опубликовано: 24 Октябрь 2024
на канале: CG Smoothie
665
23

Hey Guys! In this video, I teach you how you can make an explosion that you place and remotely detonate (or time it to go off)! It uses a very basic knowledge of unity and c#, but I explain it in good enough detail that a beginner SHOULD be able to do it with ease.

CG Smoothie Discord:   / discord  
We have a couple members so far and we can all bring each other up so make sure to check it out! We talk Blender and Unity!

Tile Texture for the floor:
https://drive.google.com/file/d/1ZIQA...

Using:
Unity 2019
Microsoft Visual Studio
OBS
Filmora X

Music (In Order of Appearance):

Video Game Editor by NewHOfTechnology |   / ewfechnolohy  
Music promoted by https://www.free-stock-music.com
Creative Commons Attribution 3.0 Unported License
https://creativecommons.org/licenses/...

Loss by Alexander Nakarada | https://www.serpentsoundstudios.com
Music promoted by https://www.free-stock-music.com
Attribution 4.0 International (CC BY 4.0)
https://creativecommons.org/licenses/...

Seaside Campfire Night by Arthur Vyncke |   / arthurvost  
Music promoted by https://www.free-stock-music.com
Creative Commons Attribution-ShareAlike 3.0 Unported
https://creativecommons.org/licenses/...

Approaching Mars by Arthur Vyncke |   / arthurvost  
Music promoted by https://www.free-stock-music.com
Creative Commons Attribution-ShareAlike 3.0 Unported
https://creativecommons.org/licenses/...

A Magical Journey Through Space by Leonell Cassio |   / leonellcassio  
Music promoted by https://www.free-stock-music.com
Creative Commons Attribution-ShareAlike 3.0 Unported
https://creativecommons.org/licenses/...

Video Chapters (Time Stamps):
00:00 Introduction
00:43 Waiting for Unity to Heckin' Load (ft. Drum Solo)
00:56 Setting up Our Scene
03:18 Placing Boxes
04:44 Making our Explosive
05:56 Waiting for Visual Studio to Heckin' Load (ft. Drum Solo Part II)
06:04 Setting our variables in Our Code
07:12 Making our Bomb Placer Function Prototype
09:28 Placing the Bomb
11:15 Making Simple UI
12:16 Debugging our Cloning Error
13:52 Adding the Explosion Part (What you came here for)
16:22 Deleting the Bomb after the Explosion (More Bugs)
17:20 Adding a Timer component to Our Bomb
18:33 Updating the Timer Realtime in Code
19:55 Bri'ish
20:00 Fixing Bugs
22:03 Finished!