I have a railway track and a cart. The cart follows the path (bezier curve). I would like to make a game like Temple Run, but where the cart would be jumping once a user presses Space. So that I need to make a separate animation for a jump. Also, I do not know what is better to do: to stop following path, run the jump and then again follow the path or to control follow path only on X and Z and make a jump only on Y coordinate (and then somehow run ti). Please, could you advice me how to do this (or if you know a good tutorial about this, this would be great too).
Thank you for any help. Here is what I have.