Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/PhysicsEngine > API/Runtime/Engine/PhysicsEngine/UConstraintInstanceBlueprintLibr-
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/ConstraintInstanceBlueprintLibrary.h |
| Include | #include "PhysicsEngine/ConstraintInstanceBlueprintLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PhysicsEngine/ConstraintInstanceBlueprintLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Physics|Constraints")
static void SetLinearPlasticity
(
UPARAM FConstraintInstanceAccessor & Accessor,
bool bLinearPlasticity,
float LinearPlasticityThreshold,
TEnumAsByte < EConstraintPlasticityType > PlasticityType
)
Remarks
Sets Constraint Linear Plasticity properties
Parameters
| Name | Description |
|---|---|
| Accessor | Constraint accessor to change |
| bLinearPlasticity | Whether it is possible to reset the target position from the linear displacement |
| LinearPlasticityThreshold | Delta from target needed to reset the target joint |