Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/USceneComponent
- USceneComponent::GetComponentVelocity()
- UPrimitiveComponent::GetComponentVelocity()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/SceneComponent.h |
| Include | #include "Components/SceneComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/SceneComponent.cpp |
virtual FVector GetComponentVelocity&40;&41; const
Remarks
Get velocity of the component: either ComponentVelocity, or the velocity of the physics body if simulating physics. Velocity of the component