GorkaGames
Member
Justin, waiting for your manual to improve performance when we have many AIs running UCC2.
Meanwhile can you please elaborate a bit how can we call the Character controller to disable or run at lower times ? Also would be great any recommendation for BD, as I have all my AIS with UCC2 + BD (awesome combination, by the way
For instance, on the example bellow with myRenderer.isVisible we may know if is within the frustum of the camera, so how can we call the character to disable components that are expensive? And on BD also..... Thanks.
private Renderer myRenderer;
void Start()
{
myRenderer = GetComponent<Renderer>();
}
void Update()
{
UpdateTransformPosition();
if (!myRenderer.isVisible)
{
DisableAnimations();
}
}
Meanwhile can you please elaborate a bit how can we call the Character controller to disable or run at lower times ? Also would be great any recommendation for BD, as I have all my AIS with UCC2 + BD (awesome combination, by the way
For instance, on the example bellow with myRenderer.isVisible we may know if is within the frustum of the camera, so how can we call the character to disable components that are expensive? And on BD also..... Thanks.
private Renderer myRenderer;
void Start()
{
myRenderer = GetComponent<Renderer>();
}
void Update()
{
UpdateTransformPosition();
if (!myRenderer.isVisible)
{
DisableAnimations();
}
}