Tutorial 3 Week 4



For spawning the enemy capsules I used Raycasting to find the world position in camera view then instantiated an object at that position in the world. To make the enemy capsules follow the player I then implemented the MoveTowards function in unity which requires the target position the capsules position with a speed. To find the player I used the "Player" Tag to find the follow target.

Leave a comment

Log in with itch.io to leave a comment.