armory icon indicating copy to clipboard operation
armory copied to clipboard

Support for NLA Sequencer Node

Open tehgates opened this issue 2 years ago • 5 comments

I'd like to suggest a node that plays back all sounds and actions including action blending in the NLA Sequencer. I think this would simplify the creation of cut-scenes and short movies.

Timeline markers could also be incorporated to specify where to begin and end the NLA playback as well as be used as a trigger for other nodes.

tehgates avatar Dec 31 '22 02:12 tehgates

To anyone who is unaware, this feature request was initially derived on the forum.

Timeline markers could also be incorporated to specify where to begin and end the NLA playback as well as be used as a trigger for other nodes.

Is the On Action Marker node not what you were looking for?

rpaladin avatar Dec 31 '22 02:12 rpaladin

Is the On Action Marker node not what you were looking for?

Possibly. Though I haven't been able to get it to work. The documentation is quite short and there aren't any examples as far as I can see.

Not sure if this is the way action markers work, but if I had some timekeeping dummy object that had an action that lasted the duration of the movie, then I could add markers along the action to trigger other character animations. If so then yes, it would do it!

I assume these "action markers" are the markers that can be added with 'M' in the Timeline?

tehgates avatar Dec 31 '22 07:12 tehgates

... there aren't any examples as far as I can see.

Not sure if this is the way action markers work, but if I had some timekeeping dummy object that had an action that lasted the duration of the movie, then I could add markers along the action to trigger other character animations. If so then yes, it would do it!

I assume these "action markers" are the markers that can be added with 'M' in the Timeline?

You might consider checking the online demos. There's numerous animation examples. For instance, this one uses animation markers: https://armory3d.github.io/armory_examples_browser/#examples-animation_actions

rpaladin avatar Dec 31 '22 20:12 rpaladin

Thanks @rpaladin, I had a look at the animation action blend file today and tried to replicate the print "marker!" at marker in the run action. However, it seems like the marker has somehow been binded to the run action. I haven't been able to figure out how this was done - my markers seem to be for the whole timeline and therefore do not work when called by the On Action Marker node.

Perhaps this issue would be better discussed on the help forum? I can make a new topic there.

I think an NLA node would be neat though.

tehgates avatar Jan 01 '23 15:01 tehgates

For further questions, a new forum thread would probably be better off for discussions, yes. Less notifications for Lubos as well.

However, it seems like the marker has somehow been binded to the run action. I haven't been able to figure out how this was done

I believe they're stashed actions?

rpaladin avatar Jan 02 '23 02:01 rpaladin