USceneComponent::GetComponentVelocity

Get velocity of the component: either ComponentVelocity, or the velocity of the physics body if simulating physics.

Windows
MacOS
Linux

Override Hierarchy

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

Syntax

virtual FVector GetComponentVelocity() const

Remarks

Get velocity of the component: either ComponentVelocity, or the velocity of the physics body if simulating physics.

Returns

Velocity of the component

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss