| UPrimitiveComponent::SetAllPhysicsLinearVelocity()
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
Include |
#include "Components/PrimitiveComponent.h" |
Source |
/Engine/Source/Runtime/Engine/Private/PrimitiveComponentPhysics.cpp |
Set the linear velocity of all bodies in this component.
Parameter |
Description |
---|---|
NewVel |
New linear velocity to apply to physics. |
bAddToCurrent |
If true, NewVel is added to the existing velocity of the body. |