Jump to content

PathFollower onComplete


kvazmatik
 Share

Recommended Posts

Hi guys, I run into some problems with pathfollower.

When follower reach his end I want do some stuff, but code

follower.startFollow({
     duration: 1500,
     onComplete: function () { this.textN.setScale(2); }
});

throws at me that textN variable isn't defined. Or

follower.startFollow({
     duration: 1500, 
     onComplete: this.makeTextBig()
});

this code runs function(makeTextBig) without error but its executed onStart not onComplete.

Any suggestion? thanks.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...