My FPS game is moving along and i now want to implement moving "levels". for example moving floors that the player needs to "transport" on to get to next destination in the game.
My collision detection/response works with moving objects, no problem there, but i cant seem to match the movement vector from the "moveobject" with my player?
should i include this in my collision response or should i make something seperatly?
i have tried this, it works but gives me a "gap" when i dont have "full-contact with the floor"
At collision response when i correct the player position i also add the "velocity-vector" of the moving plane to the player.
I get this behaviour:
jump on plane
slide for a bit
then moves along.
I think i get this problem because i only add the movement to the player only if there is a collision, i think i need to do this with some other checks to?
jumping on moving plane
2 replies to this topic