Camera Simulation

Blitz3D Forums/Blitz3D Programming/Camera Simulation

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

EintityVisible may be used when the walls etc that may obscure the view are pickable:
entitypickmode map,2
Of course, everything must be pickable, the player too.

additionally, to make sure the enemy won't see the player when he sneakes behind his back etc, use this code:
http://www.blitzbasic.com/codearcs/codearcs.php?code=532