How do you handle NPC vision in 3d ?,
Members - Reputation: 1447
Posted 13 April 2000 - 11:09 PM
Moderators - Reputation: 5639
Posted 14 April 2000 - 04:24 PM
As for ''environmental modifications'', I think the simplest way would be to just set a flag, to say whether something is modified or not. Then assign a probability of detection dependent on the size of the object, how obvious a modification would be, and how close/how aware the NPC is. You can use the above method or some other to determine if it''s visible or not.
Not that any of the above ideas reduce the benefits of sectors, quadtrees, etc. It''s always good to be able to trivially eliminate a large amount of your database.