Summary

We want to share how we accomplished our giant fish monster in our upcoming game Zenith Falls! This was a tricky task that required some inner-thinking and late nights standing at the drawing board. We got this inspiration from a really old game that we used to play that had an implementation for when swimming too far out in the ocean you would get eaten by a large fish.

Setting Up

Here’s how we did it. We took the liberty of simplifying the scripts and uploading a package for anyone who wants to skip the tutorial. We included low poly fish as examples and set up a scene for the showcase. (Patreon link)

SpawnFishTrigger

Open SpawnFishTrigger in your code editor.

FishControl

We now start working on the controller for the fish, open “FishControl”.

Indie Game Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store