I am trying to apply tree's to a spherical terrain. However, I'm trying to find out the best way to do that considering I'm not the best at math.

Note: My main goal is to basically in-game be able to select an object and place it down onto the object and it matches the planet's rotation.