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 GetLinearPlasticity
(
UPARAM FConstraintInstanceAccessor & Accessor,
bool & bLinearPlasticity,
float & LinearPlasticityThreshold,
TEnumAsByte < EConstraintPlasticityType > & PlasticityType
)
Remarks
Gets Constraint Linear Plasticity properties
Parameters
| Name | Description |
|---|---|
| Accessor | Constraint accessor to query |
| bAngularPlasticity | Whether it is possible to reset the target position from the linear displacement |
| AngularPlasticityThreshold | Delta from target needed to reset the target joint |