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="enable linear angular"))
static void SetProjectionParams
(
UPARAM FConstraintInstanceAccessor & Accessor,
bool bEnableProjection,
float ProjectionLinearAlpha,
float ProjectionAngularAlpha
)
Remarks
Sets projection parameters of the constraint
Parameters
| Name | Description |
|---|---|
| Accessor | Constraint accessor to change |
| bEnableProjection | true to enable projection |
| ProjectionLinearAlpha | how much linear projection to apply in [0,1] range |
| ProjectionAngularAlpha | how much angular projection to apply in [0,1] range |