Animator on VN + Combining Player/ Response Portrait
Posted: Fri Oct 14, 2022 11:54 pm
Hey PixelCrusher Team,
I downloaded the animated change pose portrait example ("DS_AnimatedChangePoseExample_2022-01-14") from here; (https://www.pixelcrushers.com/dialogue- ... em-extras/) but I can't quite figure out how the animator itself is attached/ accessed via the dialogue manager.
From my understanding, at each step during the conversation; the sequence will be played which calls on the Animator to play code i.e.:
which would then activate the named animation (e.g. IdleAnim) attached to the controller for each conversant (e.g. one for player + one for npc).
I am not sure how to attach the animation controller so that it can be picked up by the dialogue controller. In the demo scene "Mufasa" does not appear to have a controller attached directly to the gameobject/ character. And I haven't been able to find out where that is set.
Secondary question, is "what does the "potrait image 0" refer to?/ How do I change that (do I need to?? or does it just refer to the default image as a placeholder for the function)
Last question is; is there additional documentation where I'd be able to try to figure this stuff out (stuff in the "extras")? Or is the intended learning mechanism here at the forums?
Best Regards,
C
I downloaded the animated change pose portrait example ("DS_AnimatedChangePoseExample_2022-01-14") from here; (https://www.pixelcrushers.com/dialogue- ... em-extras/) but I can't quite figure out how the animator itself is attached/ accessed via the dialogue manager.
From my understanding, at each step during the conversation; the sequence will be played which calls on the Animator to play code i.e.:
Code: Select all
{{default}};
AnimatorPlay(IdleAnim, Portrait Image 0);
I am not sure how to attach the animation controller so that it can be picked up by the dialogue controller. In the demo scene "Mufasa" does not appear to have a controller attached directly to the gameobject/ character. And I haven't been able to find out where that is set.
Secondary question, is "what does the "potrait image 0" refer to?/ How do I change that (do I need to?? or does it just refer to the default image as a placeholder for the function)
Last question is; is there additional documentation where I'd be able to try to figure this stuff out (stuff in the "extras")? Or is the intended learning mechanism here at the forums?
Best Regards,
C