Closed Restnextsnak closed 2 years ago
안녕하세요. 제페토 캐릭터 컨트롤러 모듈에서, 임의의 캐릭터 애니메이션 클립을 만들어 적용하는 방법은 다음과 같습니다.
또한, ZepetoAnimator.controller의 animation state machine에는, 임의의 클립을 지정한다음, 필요할 때마다 해당 animation event를 invoke 할 수 있도록 사전에 지정된 state 슬롯(Gesture)를 제공하고 있습니다.
스크립트에서 ZepetoCharacter 인스턴스에 대해, Gesture Event에 임의의 animation clip을 적용하여 Play/Stop 할 수 있습니다.
[Usage-ts]
public character : ZepetoCharacter;
public customClip:AnimationClip;
...
character.SetGesture(customClip);
character.CancelGesture();
...
제페토에서 제공하는 캐릭터의 애니메이션을 만들어서 넣거나 수정하려면 어떻게 해야하죠?