Spine Subtitle Panels Example, Trouble Getting animation to work.

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
dutchy_b
Posts: 9
Joined: Mon Mar 14, 2022 7:55 pm

Spine Subtitle Panels Example, Trouble Getting animation to work.

Post by dutchy_b »

https://youtu.be/fbdW4LZDtHY

Well I've gone through the forums and watched the video's and I'm missing some step somewhere.
I'm trying to get the dialogue sequencer to make spine boy perform his hit animation.
(I have the same issue with the other spine demo - not being able to play spine animations, this demo is a little more appropriate for my game though, I'd assume if I can get one working it'll be a similar solution for the other?)

When you run the demo cold it throws up some warning about missing AnimationControllers.
So I added an Animator to Subtitle Panel 0 (player), and used the controller from the other spine demo (ExampleLeftSpineAnimatorController).

I Also added SpineSequencerReferenceUI (not SpineSequencerReference, but the one that works for spine UI).
Filled in the relevant fields and added this to Subtitle Panel 0, also tried adding this to 'Player' game object.

On the 'I'm the player' Dialogue Entry I used.

Code: Select all

SpineAnimation(hit);
And various other animation names, but nothing happens,
Also tried

Code: Select all

{{default}};
SpineAnimation(hit, speaker, 0, false)@1.5
From the other spine demo - no luck there.

Any help is appreciated!!
Thanks!



dutchy_b
Posts: 9
Joined: Mon Mar 14, 2022 7:55 pm

Re: Spine Subtitle Panels Example, Trouble Getting animation to work.

Post by dutchy_b »

Well I'm blaming covid brain -

SpineAnimation(hit, Player, 0, false)@1.5

works

But also if you don't it 'edit' next to the initial database (under dialogue System Controller), you can find yourself playing around with the wrong conversation database for hours.

Face palm.

Although I did think based on the manual that listener/ speaker should have worked as well?
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: Spine Subtitle Panels Example, Trouble Getting animation to work.

Post by Tony Li »

Hi,

Speaker and listener should work, but make sure they refer to the GameObjects you expect. For more info, see Character GameObject Assignments.
Post Reply