Gems/EMotionFX/Code/EMotionFX/Source/Actor.cpp
void Actor::UpdateStaticAabb()
    {
        ActorInstance* actorInstance = ActorInstance::Create(this, nullptr, m_threadIndex);
        actorInstance->UpdateMeshDeformers(0.0f);
        actorInstance->UpdateStaticBasedAabbDimensions();
        actorInstance->GetStaticBasedAabb(&m_staticAabb);
        actorInstance->Destroy();
    }
// update the static AABB (very heavy as it has to create an actor instance, update mesh deformers, calculate the mesh based bounds etc)
update the static AABB (very heavy as it has to create an actor instance, update mesh deformers, calculate the mesh based bounds etc)
update the static AABB ( very heavy as it has to create an actor instance update mesh deformers calculate the mesh based bounds etc )
void Actor::UpdateStaticAabb()
    {
        ActorInstance* actorInstance = ActorInstance::Create(this, nullptr, m_threadIndex);
        actorInstance->UpdateMeshDeformers(0.0f);
        actorInstance->UpdateStaticBasedAabbDimensions();
        actorInstance->GetStaticBasedAabb(&m_staticAabb);
        actorInstance->Destroy();
    }
void Actor :: UpdateStaticAabb ( ) { ActorInstance * actorInstance = ActorInstance :: Create ( this , nullptr , m_threadIndex ) ; actorInstance -> UpdateMeshDeformers ( 0.0f ) ; actorInstance -> UpdateStaticBasedAabbDimensions ( ) ; actorInstance -> GetStaticBasedAabb ( & m_staticAabb ) ; actorInstance -> Destroy ( ) ; }
update the static AABB (very heavy as it has to create an actor instance, update mesh deformers, calculate the mesh based bounds etc)
update the static AABB ( very heavy as it has to create an actor instance update mesh deformers calculate the mesh based bounds etc )