PlaceholderGames / DinoPark-2017

repo for Dino Park 2017, the testbed for CS3S667
2 stars 0 forks source link

Added Stereo list of visible targets - bug fix #49

Open DoctorMikeReddy opened 6 years ago

DoctorMikeReddy commented 6 years ago

Added to FieldOfView.cs the ability to have two lists now, one for targets in stereo view, which should have distance and orientation code, but forgot to do the .Clear() function at the start of the Update function.

14065258 commented 6 years ago

Also mentioned this on Liam's post.

Also, how do you feel about raycasting again? Because i also noticed that it also finds itself when finding all visible targets and the only way i found to fix it currently is raycasting to the target.

DoctorMikeReddy commented 6 years ago

Ray casting for detection is very processor intensive. Just filter out the self object; it’s location should be identical to target, for example.