Explosive Red Barrel
Open 3D Engine (O3DE), the successor to Lumberyard, is now available in Developer Preview. Download O3DE |
These Lumberyard video tutorials are a 4-part series that demonstrate how to use Script Canvas along with NVIDIA PhysX to create an explosive prop that pushes other objects in the scene physically with impulse forces. This series is best viewed sequentially.
The following videos cover the 1.21 version of Lumberyard
Part 1 - Script an Explosive Prop
Learning Objectives
Setup a barrel that interacts with a collision event from the player and will play an explosive particle effect.
Tutorial Content
Part 2 - Add Impulse Force to Explosions
Learning Objectives
Learn how to attach a PhysX impulse force to an entity that is triggered through Script Canvas and will interact with other NVIDIA PhysX rigid body components.
Tutorial Content
Part 3 - Send a Collision Event to Deal Damage
Learning Objectives
See how to work with Script Events to send a damage event to the player from a collision event.
Tutorial Content
Part 4 - Attach a Linear Impulse to Move Props
Learning Objectives
Learn how to take your explosive barrel and apply a linear impulse on player damage to send the barrel into the air.