Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/FWorldLocations
Description
Objects are not necessarily marked as dirty just because they're moving, such as objects attached to other objects. If such objects are spatially filtered they need to update their world locations in order for replication to work as expected. Use SetObjectRequiresFrequentWorldLocationUpdate to force frequent world location update on an object.
| Name | SetObjectRequiresFrequentWorldLocationUpdate |
| Type | function |
| Header File | /Engine/Source/Runtime/Net/Iris/Public/Iris/ReplicationSystem/WorldLocations.h |
| Include Path | #include "Iris/ReplicationSystem/WorldLocations.h" |
void SetObjectRequiresFrequentWorldLocationUpdate
(
UE::Net::Private::FInternalNetRefIndex ObjectIndex,
bool bRequiresFrequentUpdate
)