Does anyone know how to create a mechanic to move an object to a certain place by activating or opening a door, and if the object is placed in the wrong place, that object returns to the same position it was in.
Develop games in your browser. Powerful, performant & highly capable.
Have you tried using pathfinding? You could just set the objects position if its location is wrong.