How to make an enemy pop up out of the ground

Hello all,

I have a vertical slice of a FPS game in the making. I was wondering if there was a simple script to have an enemy/object pop up out of the ground when you (the player) steps within a certain distance (say maybe 5 meters away from it). Thanks to anyone who answers!

1 Answer

1

No, there isn’t. You have to write it yourself. Tip: change the Y position over time.