Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Dahaarl |
Hello !
I would like to make a grind effect like in Jet Set Radio or Street Gears (for those who knew this game).
example: https://www.youtube.com/watch?v=aSMJoPfOv0c
I want my player to be able to perform the grind in both way and that’s my problem: I don’t know how to approach the question…
image example of what i would like to achieve:
https://drive.google.com/file/d/1Icu7HRMf1OdQpCCCELFcOAY7FN53wiCI/view?usp=sharing
https://drive.google.com/file/d/1TPCnD6L4j45Sn5dLyJ2PZ1PNiv6dhSnB/view?usp=sharing
So if I’m not misunderstanding the problem I should try to set the player as a child of the ramp (pathFollow) and set its offset
property over delta
to move the player along the curve.
Then I’ll need to get the direction of the player’s view to set the offset
positive or negative to go both way.
But it will lead to a major issue: the player position
will pop to the start of the curve and not on the point of the curve where the player jump…
And there I really don’t know how to achieve it, so it will be super cool if you can help me !!
Should I use interpolate_property
with some “checkpoints” to go along the non existing path instead ?