UPrimitiveComponent::GetPhysicsLinearVelocityAtPoint

Get the linear velocity of a point on a single body.

Windows
MacOS
Linux

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

Syntax

FVector GetPhysicsLinearVelocityAtPoint
(
    FVector Point,
    FName BoneName
)

Remarks

Get the linear velocity of a point on a single body.

Parameters

Parameter

Description

Point

Point is specified in world space.

BoneName

If a SkeletalMeshComponent, name of body to get velocity of. 'None' indicates root body.

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