Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UPrimitiveComponent
- USceneComponent::GetComponentVelocity()
- UPrimitiveComponent::GetComponentVelocity()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include | #include "Components/PrimitiveComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PrimitiveComponentPhysics.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