54 Minutes Ago
NPCAnimController perf improvements Throttle the animator param calculations if the animal has been culled, max once every 0.25 Check the livestock have changed flags before setting the animator params Disable the F Look component when an animal is culled or if the animal is > 30m away Don't do the snap to ground raycast if we are culled In a scene with 40 cows, this reduces FLook and NPCAnimController total of 0.6ms to 0.1ms when occluded, 0.3ms when at a distance