21.07.2012, 11:19
Quote:
When the player walks in, you can keep it semi-freeroam style, (still with freeform movement, no teleport) by:
- Checking if the player is in the area of the door and if they are walking towards it. - If they are, Apply the walking+opening door animation and make the player walk through the centre of the object |
If you dont care about the anticheat the best clean way to do is to have the freeroam swing door for everyone when door is unlocked and the static blocking door when locked, this works without any problems.