|
@@ -602,7 +602,7 @@ void CharacterGame::animationEvent(AnimationClip* clip, AnimationClip::Listener:
|
|
|
|
|
|
|
|
void CharacterGame::clone()
|
|
void CharacterGame::clone()
|
|
|
{
|
|
{
|
|
|
- Node* clone = _scene->findNode("boyRotation")->clone();
|
|
|
|
|
|
|
+ Node* clone = _scene->findNode("boycharacter")->clone();
|
|
|
Animation* cloneAnimation = clone->getAnimation();
|
|
Animation* cloneAnimation = clone->getAnimation();
|
|
|
|
|
|
|
|
// Find the current clip and have the clone play that clip repeatedly.
|
|
// Find the current clip and have the clone play that clip repeatedly.
|