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",
Meta=(Keywords="motion free limited locked linear angular"))
static void SetLinearLimits
(
UPARAM FConstraintInstanceAccessor & Accessor,
TEnumAsByte < ELinearConstraintMotion > XMotion,
TEnumAsByte < ELinearConstraintMotion > YMotion,
TEnumAsByte < ELinearConstraintMotion > ZMotion,
float Limit
)
Remarks
LINEAR LIMITS Sets Constraint Linear Motion Ranges
Parameters
| Name | Description |
|---|---|
| Accessor | Constraint accessor to change |
| XMotion | Type of motion along the X axis |
| YMotion | Type of motion along the Y axis |
| ZMotion | Type of motion along the Z axis |
| Limit | linear limit to apply to all axis |