Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Physics > API/Runtime/Engine/Physics/UAsyncPhysicsInputComponent
- UActorComponent::AsyncPhysicsTickComponent()
- UAsyncPhysicsInputComponent::AsyncPhysicsTickComponent()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Physics/AsyncPhysicsInputComponent.h |
| Include | #include "Physics/AsyncPhysicsInputComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PhysicsEngine/AsyncPhysicsInputComponent.cpp |
virtual void AsyncPhysicsTickComponent
(
float DeltaTime,
float SimTime
)
Remarks
Override this function to implement custom logic to be executed every physics step. Only executes if the component is registered, and also bAsyncPhysicsTick must be set to true.
Parameters
| Name | Description |
|---|---|
| DeltaTime | The sim time associated with each step |
| SimTime | This is the total sim time since the sim began |