Project World to Screen Location stops returning a value

I suggest you to add na ELSE parameter to set bTargetBehindCamera back to false when look to the tag point again.

if (Result.W < 0.f) { bTargetBehindCamera = true; } else {bTargetBehindCamera = false;}

1 Like