Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UAsyncPhysicsInputComponent
Description
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.
Virtual Inheritance
- UActorComponent::AsyncPhysicsTickComponent → UAsyncPhysicsInputComponent::AsyncPhysicsTickComponent
| Name | AsyncPhysicsTickComponent |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Physics/AsyncPhysicsInputComponent.h |
| Include Path | #include "Physics/AsyncPhysicsInputComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PhysicsEngine/AsyncPhysicsInputComponent.cpp |
virtual void AsyncPhysicsTickComponent
(
float DeltaTime,
float SimTime
)
Parameters
| Name | Remarks |
|---|---|
| DeltaTime | The sim time associated with each step |
| SimTime | This is the total sim time since the sim began |