Unity Tutorial - How to create an explosion with scripts
Coffee Cup Dev
0:00 / 0:00
Unity Tutorial - How to create an explosion with scripts
1 622 просмотра · 3 года назад
Coffee Cup Dev
15,7 тыс. подписчиков
1 622 просмотра · 3 года назад
In this tutorial, I go over how to create an explosion in Unity using scripts and the `AddExplosionForce` method of the `Rigidbody` API. I also added particle effects and an explosion sound via the Audio Source component.
Chapters:
00:00 Introduction
00:22 Unity's Documentation
01:27 Preview Final Result
02:00 Scene / Object Setup
03:08 Buttons Setup
04:30 Bomb Setup
06:14 The Bomb Script
08:05 IMPORTANT - AddExplosionForce
10:24 The Explosion Sound
11:15 Final Demo
11:51 Final Thoughts
My blog: http://dotnetprojects.blog/
Come check out our Discord community: / discord