Navigation
API > API/Plugins > API/Plugins/ContextualAnimation > API/Plugins/ContextualAnimation/UContextualAnimSceneActorCompone-
Description
Finds ideal start time for the interaction based on the distance from the actor to the warp target in the animation and the actual distance in game. Effectively skipping the portion of the 'approach-motion' the actor doesn't need. Returns 0 if the actor is far enough to play the full animation from the beginning.
| Name | FindIdealStartTime |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Animation/ContextualAnimation/Source/ContextualAnimation/Public/ContextualAnimSceneActorComponent.h |
| Include Path | #include "ContextualAnimSceneActorComponent.h" |
| Source | /Engine/Plugins/Experimental/Animation/ContextualAnimation/Source/ContextualAnimation/Private/ContextualAnimSceneActorComponent.cpp |
float FindIdealStartTime
(
const FContextualAnimSceneBindings & InBindings,
const FContextualAnimSceneBinding & Binding,
const TArray < FContextualAnimWarpPoint > & WarpPoints
) const