Im making a first person maze exploring game, i have my first person controller set up to explore the maze freely and i have chest objects in the maze already placed. I have no idea how to make it so that when the first person controller reaches the chest it will play an animation of the lid opening. Any help with this would be greatly appreciated.
Thanks in advance
add a collider to the chest then tick istrigger for the collider component in the inspector. Have an animation on the chest of the lid opening then make a script that is on the chest that says when the character enters the trigger play animation. There are so many ways to do this, give it a go then if you encounter problems post another question explaining what you are tying to achieve, what you have done and what the problem is.