How to start a track sequence from Lua

0

I have seen that track view now support component entity in preview and creates a new sequence component, but it seems that there is no bus for it so I don't know how to start a sequence from lua.

I have to start it from Flow Graph where I didn't understand how to play the sequence in reverse.

I tryed negative speed and sequence not starting from beginning.

質問済み 7年前190ビュー
3回答
0
承認された回答

REMOVEDUPLOAD

Hi @REDACTEDUSER

Thank you for this post. The component entity support in Track View in 1.8 is a preview release and missing Lua support, as you have discovered. We will be adding this in a future release.

Playing a sequence backwards using negative speeds doesn't work, as you've noted. I'll add this feature request into our queue, although I would predict several other things might behave unexpectedly in reverse. Keys that are active for a time region, such as Animation Keys, Boolean Keys and Audio Triggers, would not behave as expected because these expect time to be running forwards.

In the meantime, one work around that might work in Flow Graph is to compute the reverse time and use the JumpToTime input of the Animatinos:PlaySequence node, as shown in the attachment. This is not ideal but hopefully will get you unstuck.

回答済み 7年前
0

Thanks.It looks like a very clever solution.

As for the Play in reverse These things doesn't constitute an issue for my simple use case(just transforms) howerver I got your point and yes work will be required to support the play in reverse consistently across all the key types.

You can fake bool support making double keys(a key just before values invert ), but things that supports some kind of duration needs a specific implementation, but it may really worth it to have a play animation and sound in reverse too.

回答済み 7年前
0

@REDACTEDUSER

Is component entity in Track View now support lua in 1.15 ?

Tks,

Nassim

回答済み 6年前

この投稿はクローズされています。新しい回答、コメント、投票の追加はできません。

関連するコンテンツ