I have a problem. My scripter for my video game design team quit and I need help. I need to know how to script a math equation into a door so that when you walk up to the door it gives you the question and if you answer it correctly then the door opens. I would really appreciate any answers.
2 Likes
Essentially, you need a script attached to the door which holds a collider a little bit bigger than the bounds of the door and marked as a trigger which when fires “OnTriggerEnter” (meaning the user is close to the door) that calls the object or method that holds the question and behavior that you are talking about.