Search Unity

  1. Get the latest news, tutorials and offers directly to your inbox with our newsletters. Sign up now.
    Dismiss Notice

How do I make my player rotate with this planet?

Discussion in 'Physics' started by unity_g6pUasEkRJ-2jg, Jul 29, 2020.

  1. unity_g6pUasEkRJ-2jg

    unity_g6pUasEkRJ-2jg

    Joined:
    Jul 24, 2020
    Posts:
    14

    So, I have got this planet. I need my player (the capsule) to rotate with the planet's surface. I already managed to make him look at the planet when touching it and gave the planet it's own gravity, but I have no idea what to do in order to keep the player rotating with the planet when he is touching it. How could I do this? I already tried by making the player a child of the planet but that is far from being a viable option. Sorry for my bad english and thanks in advice.
     
unityunity