Changes to get visibility system working again in-game
This commit is contained in:
@@ -513,8 +513,7 @@ namespace EMotionFX
|
||||
{
|
||||
m_renderActorInstance->OnTick(deltaTime);
|
||||
m_renderActorInstance->UpdateBounds();
|
||||
AzFramework::EntityBoundsUnionRequestBus::Broadcast(
|
||||
&AzFramework::EntityBoundsUnionRequestBus::Events::RefreshEntityLocalBoundsUnion, GetEntityId());
|
||||
AZ::Interface<AzFramework::IEntityBoundsUnion>::Get()->RefreshEntityLocalBoundsUnion(GetEntityId());
|
||||
|
||||
// Optimization: Set the actor instance invisible when character is out of camera view. This will stop the joint transforms update, except the root joint.
|
||||
// Calling it after the bounds on the render actor updated.
|
||||
|
||||
Reference in New Issue
Block a user