I need to make check each frames with a fixed framerate.
I check one trigger each frame, if it is triggered then I move the character.
The issue is that it seems (because of what I write in the console) that the trigger is triggered the frame after I can see that the character is in the trigger.
If I do a simple example, here the character is falling and will go through the white bar :
So the next frame it would be be seen in the white bar but it should be moved elsewhere instead (because of the trigger).
But the thing is that the next frame nothing happens :
And the frame after this one the character is moved.
I want to be frame perfect, how could I do that ?