Closed ghost closed 6 years ago
Yeah, there's one problem that i noticed with this. In the FieldOfView script. Just below the "VisibleTargets.Clear()" in the findVisibleTargets function. you need to add the line "stererVisibleTargets.Clear()" otherwise the array will constantly be adding the same anky to the array each time.
Not sure how significant this is, however It is work noting that when you return a list of visible objects that your dino can see, you will also be able to see yourself.
Just thought Id mention this as it could mess with things such as herding as the anky/raptor might think it is near another when it is actually finding itself.