Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: Softme on July 15, 2022, 12:03:56 AM

Title: Get Animator Current State Info return previous state's Normalized Time.
Post by: Softme on July 15, 2022, 12:03:56 AM
I use Get Animator Current State Info to store normalized time, and trigger animation finsished event when the value reach 1.
But it return previous state's normalized time in the first frame during executing this action, and return 0 in the next frame.
The Animator Play action is in the same state.
Considering there is the action Get Animator Current StateInfo Is Name can fix this problem, I'm not sure if this is a bug.
Title: Re: Get Animator Current State Info return previous state's Normalized Time.
Post by: djaydino on July 28, 2022, 04:19:29 AM
Hi.
I made a custom version of Animator Play with a 'Wait for end of clip' (attachment below)
Let me know if this works for you :)
Title: Re: Get Animator Current State Info return previous state's Normalized Time.
Post by: Softme on August 09, 2022, 07:13:18 AM
Awesome, it works fine for me. Thanks !!!