Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Unreal Engine 4.X By Example

You're reading from   Unreal Engine 4.X By Example An example-based practical guide to get you up and running with Unreal Engine 4.X

Arrow left icon
Product type Paperback
Published in Jul 2016
Publisher Packt
ISBN-13 9781785885532
Length 506 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
 Carnall Carnall
Author Profile Icon Carnall
Carnall
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Unreal Engine 4.X By Example
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
1. Introduction to Unreal Engine 4 2. Blueprints and Barrels – Your First Game FREE CHAPTER 3. Advanced Blueprint, Animation, and Sound 4. Unreal Engine, C++, and You 5. Upgrade Activated – Making Bounty Dash with C++ 6. Power Ups for Your Character, Power Ups for the User 7. Boss Mode Activated – Unreal Robots 8. Advanced AI and Unreal Rendering 9. Creating a Networked Shooter 10. Goodbyes and Thank yous Index

Masking our destruction with particles


With our new trigger volume created, place one BH_BarrelKiller_Blueprint at the end of each ramp so that the volume is floating in mid-air but is touching the edge of the ramp as seen here:

Now, run the project again and watch as our barrels destroy themselves when they reach the end of each ramp! Right now, it is quite jarring to have the barrels simply disappear when they are removed. We can fix this with a simple particle effect played upon the destruction of the barrel. Open the BH_Barrel blueprint again. We are going utilize a new event node called Event Destroyed. Navigate to the event graph and search for this new event node. The event will be triggered every time an actor of this type is destroyed. Thankfully, the DestroyActor function we are using in our BarrelKiller object will trigger this event!

Drag a line from the execution arrow and search for a function node called Spawn Emitter at location. This node takes in an emitter template to spawn...

You have been reading a chapter from
Unreal Engine 4.X By Example
Published in: Jul 2016
Publisher: Packt
ISBN-13: 9781785885532
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime
Visually different images