Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: PolyMad on March 29, 2013, 01:10:48 AM

Title: Persistent variables?
Post by: PolyMad on March 29, 2013, 01:10:48 AM
I need to check collision on a body and check which is the previous frame and actual frame speed.
If I store the actual Get Speed value in a variable, how can I drag the same value to the next frame so I can compare it with the following Get Speed?
Title: Re: Persistent variables?
Post by: greg on March 29, 2013, 07:40:16 AM
Maybe something to do with nextFrameEvent and updating the variable with that.
Title: Re: Persistent variables?
Post by: PolyMad on March 29, 2013, 01:03:42 PM
Thank you!