Just want to inform that animation.data.currAnim
throws 'undefined'
in 1.54.0,works fine on previuos version
I believe that is private API to the engine so is subject to change between version releases. Only public API won’t change between releases without prior notice.
That said, this is the animation component right? If so, currAnim
should be directly accessible from the animation component as this.entity.animation.currAnim
engine/component.js at b9b2e9ce951c9ef1dd6850577b526b566aa351b7 · playcanvas/engine · GitHub
1 Like