Hello, I’ve started a project in wich there are planetoids but I have a problem making my custom gravity.
My first tought was to first make the player look to the center of the planet and then apply the rotation to look the new up, but there is a problem I didn’t count, when unity uses lookAt at the planet the up vector will always be upside the planet so the player will be always looking at the north of the planetoid and that’s a problem jajaja.
My second tought was to make the down vector of the player to look at the center of the planet but I don’t know how to make that.
can Anyone help me?