How do I get random point on sphere surface?

I’m trying to make obstacles to spawn on a sphere.
Is there a way to make them spawn with a rotation based on place on sphere, randomly and with a delay?

Delay is a separate question but it’s easy to get a random point on the surface of a sphere. You want to get a random unit vector and then multiply that by the radius of the sphere.

1 Like

Oh, and that just gets you the local offset. You still need to add it to the sphere’s location to get the actual location in world space.

1 Like