Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
Include |
#include "Components/PrimitiveComponent.h" |
Source |
/Engine/Source/Runtime/Engine/Private/PrimitiveComponentPhysics.cpp |
Add a torque to a single rigid body.
Parameter |
Description |
---|---|
Torque |
Torque to apply. Direction is axis of rotation and magnitude is strength of torque. |
BoneName |
If a SkeletalMeshComponent, name of body to apply torque to. 'None' indicates root body. |
bAccelChange |
If true, Torque is taken as a change in angular acceleration instead of a physical torque (i.e. mass will have no effect). |