Diablo Gorge (Torch Mechanic)

I'll be regularly updating the blog page with snippets from Diablo Gorge, walking through how I tackled different parts of the game.

Torch Pickup Mechanic 

The concept for this is that the main character should be able to pick up a torch placed in the game world and then use that torch to burn a web that blocks progress, the torch is then destroyed.

 

Firstly, the character needed to able to pick up the torch itself.  The Blueprint calls the Interact Function and when he activates the Trigger on the Torch, it casts to him allowing him to equip it.      

The torch pickup had a Begin and End overlap events that displayed the Interact Widget depending on if the character was inside or outside of the trigger.  

This represents the trigger volume on the torch.

Then the widget is displayed when the character enters the trigger (This blueprint class was also used with the weapon pickup system).


Then there was a check added to see if the character has triggered a torch or a weapon.


Comments

Popular posts from this blog

Creating a simple dialogue system in Unreal Engine 5

Remaking Mario in Unreal Engine 5 (Part 2)

Remaking Mario in Unreal Engine 5 (Part 1)