Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/FPBDJointConstraintHandle
Description
This allows the most common drive parameters to be set in one call. Note that the individual drive elements will be enabled/disabled depending on the strength/damping values passed in.
Angular values are passed in as (swing, twist, slerp)
| Name | SetDriveParams |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/PBDJointConstraints.h |
| Include Path | #include "Chaos/PBDJointConstraints.h" |
| Source | /Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/PBDJointConstraints.cpp |
void SetDriveParams
(
const FVec3 LinearStiffness,
const FVec3 LinearDamping,
const FVec3 MaxForce,
const FVec3 AngularStiffness,
const FVec3 AngularDamping,
const FVec3 MaxTorque
)