'Prey' GLOO Cannon Mechanic Recreation
Recreating the famous 'Gloo Cannon' from Arcane Studios' Prey
Overview
If you're unfamilliar with Prey's "Gelifoam Lattice Organism Obstructor Cannon" (i.,e. Gloo Cannon), it's a weapon which allows the user to shoot out globs of gloo which can be used during platforming to bridge gaps, during puzzles to trigger levers or move objects by weight, or during combat to slow and ultimately 'gloo' enemies.
The GLOO Cannon
As mentioned the weapon has a few core characteristics
Auto-fire Projectile (versus hitscan)
GLOO
Sticks to whatever it hits
Hardens and can be used to walk on
Adds weight to dynamic objects affecting them as physics would make sense
Slows enemies after each hit, and after a threshold become frozen
Let's get to it then!
Here is the example project showing core mechanics of the GLOO Cannon
This project uses the UE5 default First Person template
Github
project link can be found here (branch 'v1_Demo' for the pretty character otherwise master is the base)
(future idea: The game also allows a fun mechanic of once an enemy is gloo'd, a single melee will shatter them even if it would take many melees to kill them in their un-gloo'd form, so that would be fun to implement)
_cp
Last updated