Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UActorComponent
Description
Sets bAsyncPhysicsTickEnabled which determines whether this component will receive a call to AsyncPhysicsTickComponent (in code) and ReceiveAsyncPhysicsTick (a Blueprint implementable event). These functions will execute on the game thread and are allowed to read and write both Physics Thread (PT) and Game Thread (GT) Data . Performance Warning: This will cause both threads to halt and force a full sync of data between PT and GT. The PT will block until the GT is done executing all AsyncPhysicsTick functions.
| Name | SetAsyncPhysicsTickEnabled |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/ActorComponent.h |
| Include Path | #include "Components/ActorComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/ActorComponent.cpp |
void SetAsyncPhysicsTickEnabled
(
bool bEnabled
)