Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: Digitom on March 09, 2020, 10:54:20 AM

Title: Send Event Frame Delay (On Update / On FixedUpdate / On LateUpdate)
Post by: Digitom on March 09, 2020, 10:54:20 AM
Hello,

Quickly made this action per request.

(https://i.imgur.com/GPHr3mG.png)

Cheers,
Title: Re: Send Event Frame Delay (On Update / On FixedUpdate / On LateUpdate)
Post by: rechronicle on March 09, 2020, 11:46:26 AM
Can you give an example of how to benefit different types of updates with 'send event'?

Thanks!
Title: Re: Send Event Frame Delay (On Update / On FixedUpdate / On LateUpdate)
Post by: Digitom on March 09, 2020, 01:57:47 PM
Tbh this action is quite useless/inefficient to someone who knows how to code custom actions...but may help some FSMs in dealing with objects currently updating in fixed or late update (like controllers or cameras).

I personally have had to use this for calculating velocity movement of a transform that was moving in fixed update. When I used the normal next frame event action to loop back to the calculations, my results were not consistent. I ended up making a fixed update next frame action and it was solid...but ended up making a custom action for velocity movement anyways. Might help some people though so thought ide share.