Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/PhysicsConstraintComponent.h |
Include |
#include "PhysicsEngine/PhysicsConstraintComponent.h" |
Source |
/Engine/Source/Runtime/Engine/Private/PhysicsEngine/PhysicsConstraintComponent.cpp |
void SetLinearDriveParams
(
float PositionStrength,
float VelocityStrength,
float InForceLimit
)
Sets the drive params for the linear drive.
Parameter |
Description |
---|---|
PositionStrength |
Positional strength for the drive (stiffness) |
VelocityStrength |
Velocity strength of the drive (damping) |
InForceLimit |
Max force applied by the drive |