Door entity now implimented in
http://www.blitzbasic.com/Community/posts.php?topic=29169
Door opens by right clicking mouse on the door when <600 units away.
Door opens if it hits the player.
Door closes when player is >1000 units away.
The door is quite similar to a lift since it has a start and end position and rotation.
This entity therefore can handle doors that rotate when they open, although will require some extra work on responding to a collision with the player in this mode.
I suppose next we should have a lock/button entity =)
http://www.blitzbasic.com/Community/posts.php?topic=29169
Door opens by right clicking mouse on the door when <600 units away.
Door opens if it hits the player.
Door closes when player is >1000 units away.
The door is quite similar to a lift since it has a start and end position and rotation.
This entity therefore can handle doors that rotate when they open, although will require some extra work on responding to a collision with the player in this mode.
I suppose next we should have a lock/button entity =)