Skip to content

手动创建动画组件报错 #23

Answered by luzhuang
taohaihui asked this question in Engine
Discussion options

You must be logged in to vote

const animator = scene1.addComponent(Animator);
animator.animatorController = scene2(你动画那个模型).getComponent(Animator).animatorController;
试试这样
模型的骨骼命名及层级要一致才可以

Replies: 0 comments 12 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
10 replies
@luzhuang
Comment options

@luzhuang
Comment options

@taohaihui
Comment options

@luzhuang
Comment options

@luzhuang
Comment options

Answer selected by singlecoder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Engine
Labels
None yet
3 participants