Hello.
I have a game object travelling along a path using the Pathfinder behaviour. I want to find out if the object is accelerating. I can get the object's current speed along the path, but I can't work out how to find or calculate an object's speed in the previous tick / frame.
I've tried checking the speed in every tick, waiting a short time, then checking it again, but this does not work. I've also tried using Pathfinder's built in 'compare speed' function to compare the object's speed to a previously recorded value stored in an instance variable. But it does not work either. I may well be missing something simple or obvious, but any help would be great. I've been away from Construct for some time, so am a little rusty.
Cheers,
T