Basically, my character fly around from platform to platform in a single “dash”, stoping only in the case of collision.
Everytime my character hits a platformer, I would like to store the last known location (Which would be get actor location). If my character goes too far, I would like to kill him and respawn him at last known position.
I guess it is possible to get the Player Movement Component. From the Return Value, you can find a function called “Is Moving On Ground”. This returns a boolean. Now i would check the bool every tick and only save the position when he’s on the ground. So if he jumps or dashs, the location won’t be saved again until he lands.