Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: liu396155102 on March 30, 2015, 05:24:02 AM

Title: Why OnFixUodate function can't be called? what need i do for it ?
Post by: liu396155102 on March 30, 2015, 05:24:02 AM
why OnFixUodate function can't be called? what need i do for it ?
Title: Re: Why OnFixUodate function can't be called? what need i do for it ?
Post by: jeanfabre on March 30, 2015, 06:36:43 AM
Hi,

 you are building custom actions right?

 you need to explicitly declare you want to use fixedupate on the awake.

Code: [Select]
        public override void Awake()
        {
            Fsm.HandleFixedUpdate = true;
        }

and then you'll get it. Check the "AddForce" action to see a working implementation.

 Bye,

 Jean
Title: Re: Why OnFixUodate function can't be called? what need i do for it ?
Post by: liu396155102 on March 30, 2015, 11:34:36 PM
Get it  thanks very much .. ;D