How do I do so that when the character collides with and object(an invisible object that the player can walk through) an event comes. like an object will be created or something will be moved.
for instance. the Character moves in a hallway and walks into this trigger object(walks through it) and then a door will be closed.(the door is just an example)