Navigation
API > API/Plugins > API/Plugins/MoverExamples > API/Plugins/MoverExamples/MovementBases > API/Plugins/MoverExamples/MovementBases/UFollowPathMode
References
| Module | MoverExamples |
| Header | /Engine/Plugins/Experimental/MoverExamples/Source/MoverExamples/Public/MovementBases/FollowPathMode.h |
| Include | #include "MovementBases/FollowPathMode.h" |
| Source | /Engine/Plugins/Experimental/MoverExamples/Source/MoverExamples/Private/MovementBases/FollowPathMode.cpp |
float CalculateNewPathPct
(
float InPathPct,
float InDirectionMod,
float InDeltaSecs,
bool & OutStopped,
float & OutTimeRemainder,
float & OutNewDirectionMod
) const
Remarks
Based on current path pct + direction + time step, find the next path pct, possibly stopping or changing direction mid-step.