Finally finished the first animatronic (functionally).
It has basic pathfinding around the whole map, its speed is 10 when chasing and 3 when roaming (players speed while sprinting is 15). There are 2 modes: chasing and roaming, while chasing it locks onto the player and won’t stop until the player is out of sight for 5 seconds, while roaming it will move to random points in the map. It only chases when the player is in the cameras view and the exact center where the raycast detects it, the walls block the raycast so it can’t see through walls. Added some basic blue table and red arcade machine placeholders for future objects.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.