My AI perception can't tell if it can see the player or not

Unisink2020
Sun, 11 Oct 2020 14:33:57 +0000
AI

My AI keeps switching between true/false in the perception area, flip flopping EVERY FRAME, causing my enemy character to rotate toward the player like the hand of a ticking clock instead of just a smooth turn to face the player. What’s wrong with perception that it thinks one frame it can’t see me, but another frame it thinks it can?

2 posts - 1 participant