Navigation
BlueprintAPI > BlueprintAPI/Mover
Attempts to move a component and resolve any penetration issues with the proposed move Delta. This function handles blocking moves and slides along the surface or stops on impact. It uses @TryMoveToSlideAlongSurface to slide along the surface on hit, so if other behavior is needed for sliding (like Falling based sliding) consider using @TrySafeMoveUpdatedComponent and a slide function or setting @bSlideAlongSurface to false and then using a separate sliding function. Note: This function doesn't update a movement record so velocity should be gathered/set using a different method
Target is Movement Utils
Inputs
| Type | Name | Description |
|---|---|---|
| exec | In | |
| struct | Moving Comps | Encapsulates components involved in movement |
| vector | Delta | The desired location change in world space |
| struct | New Rotation | The new desired rotation in world space |
| boolean | Sweep | Whether we sweep to the destination location |
| struct | Out Hit | Optional output describing the blocking hit that stopped the move, if any |
| enum | Teleport | Whether we teleport the physics state (if physics collision is enabled for this object) |
| boolean | Slide Along Surface | If true the actor slides along a blocking surface. If false the actor will stop if the move was blocked |
Outputs
| Type | Name | Description |
|---|---|---|
| exec | Out | |
| real | Return Value | Returns the percent of the move applied 0 to 1, where 1 represents the whole move being applied |