Navigation
Unreal Engine C++ API Reference > Runtime > Engine > PhysicsEngine > UPhysicsConstraintComponent
References
Module | Engine |
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
&40;
float PositionStrength,
float VelocityStrength,
float InForceLimit
&41;
Remarks
Sets the drive params for the linear drive.
Parameters
Name | Description |
---|---|
PositionStrength | Positional strength for the drive (stiffness) |
VelocityStrength | Velocity strength of the drive (damping) |
InForceLimit | Max force applied by the drive |