1 Year Ago
When pathfinding with A* limit path calculation per agent to 1 per second. Set target location and check in UpdatePath whether to generate yet. Clear target location when path is finished Disable collisions immediately when opening a door. Doors always open AWAY from the player that opened them. Remember that when serializing door state.