Hi there,
I have a rotating platform (using Hinge Joint 2D) and I want my player to land on it and stick to it after landing. When needed, the player will need to leave the platform and I want it to use the current platform speed. (move towards wherever the platform is)
Things I have tried:
-
When colliding, become the platform child and then keep moving with it (stick to it).
The only problem is that when I leave the platform I won’t be accelerated by the platform’s speed. (If I leave the platform I will simply fall down) -
When colliding, I tried to add a new Hinge Joint 2D to the player and put the middle of the platform in the Anchor. The only problem is that I couldn’t calculate what to put in the “Connected Anchor”…
Please let me know if you have any ideas.
Thanks,
Lidan