Open DoctorMikeReddy opened 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.
Ray casting for detection is very processor intensive. Just filter out the self object; it’s location should be identical to target, for example.
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.