Hello,
I’m trying to make a little platformer game, but I’m facing some big troubles making the player to rotate with the platform it stands on. I’ve been researching in google all day and I found absolutely nothing. So the problem is this: I want to make the player rotate with the rotating platform, but without making him a child of the platform. So far I did something like this:
This works fine for moving platforms, but unfortunately I have no idea how to make the player stay on rotating platforms, I tried with something like this:
target.transform.rotation *= transform.rotation;
but when I jump on the platform it changes my camera orientation with more than 60 degrees…
Please help, thank you in advance!