在ue lyra中,动画蓝图使用了SequenceEvaluator和SequencePlayer
但是好像他们没什么不同
但是实际上他们的底层原理不同
显而易见的,当我们再SequencePlayer中调用
时,会报错
DistanceMatchToTarget called on an invalid context or with an invalid type
SetExplicitTime called on an invalid context or with an invalid type
Doublecheck its a Sequence Evaluator.
这时因为SequencePlayer基于时间流逝播放动画,而SequenceEvaluator基于时间点来计算动画
https://www.aaronkemner.com/animnode-reference/sequenceevaluator/
Outputs a pose from a specific point in a sequence. Instead of moving on with passing time, the time the sequence is evaluated at is passed in as an explicit time.
In the node creation menu this node shows up in its pure form without an associated sequence, but also for every sequence for the skeleton of the AnimBP in the format of “Evaluate <Sequence>” where, if chosen, the node will have the corresponding sequence already assigned.
Settings to note is are the “Teleport to Explicit Time” and “Reinitialization Behaviour”.
“Teleport to Explicit Time” is used to determine whether the node should process updating the pose from the explicit time as if it was playing the node, or whether it should jump to the timestamp. Jumping or “teleporting” will not trigger notifies and not extract root motion. This setting will always be treated as
false
when in a sync group.“Reinitialization Behaviour” dictates whether the node should be reset when reinitialized or not, and if so, whether to reset the node to the start position or the explicit time.
The node can be converted to a Sequence Player with the relevant sequence via the right click menu.
我们也观察到,可以设置SequencePleyr和SequenceEvaluator的Sync组来使folower与leader同步播放进度(https://zhuanlan.zhihu.com/p/654090459)
人类的记忆是有限的,每当看到一些零散的知识时,人类总会将他们记录下来
评论区