Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/MoveLibrary
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- UPlanarConstraintUtils
References
| Module | Mover |
| Header | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/MoveLibrary/ConstrainedMoveUtils.h |
| Include | #include "MoveLibrary/ConstrainedMoveUtils.h" |
Syntax
UCLASS ()
class UPlanarConstraintUtils : public UBlueprintFunctionLibrary
Remarks
PlanarConstraintUtils: a collection of stateless static BP-accessible functions for working with planar constraints
Functions
| Type | Name | Description | |
|---|---|---|---|
| FVector | ConstrainDirectionToPlane
(
const FPlanarConstraint& Constraint, |
Constrains a direction to be on the plane, if enabled | |
| FVector | ConstrainLocationToPlane
(
const FPlanarConstraint& Constraint, |
Constrains a location to be on the plane, if enabled | |
| FVector | ConstrainNormalToPlane
(
const FPlanarConstraint& Constraint, |
Constrains a normal to be on the plane, if enabled. Result will be re-normalized. | |
| void | SetPlanarConstraintEnabled
(
UPARAM(ref) FPlanarConstraint& Constraint, |
Sets whether or not the constraint is enabled | |
| void | SetPlanarConstraintNormal
(
UPARAM(ref) FPlanarConstraint& Constraint, |
Sets the normal of the plane that constrains movement, enforced if the plane constraint is enabled. | |
| void | SetPlaneConstraintOrigin
(
UPARAM(ref) FPlanarConstraint& Constraint, |
Sets the origin of the plane that constrains movement, enforced if the plane constraint is enabled. |