Skip to main content
GameDev.net gamedev.net
🔒 Locked

spherical coords evenly around a point.

Started by rrlangly Jan 28, 2021 at 8:02 PM 1 replies 3.5k views
Original Post
rrlangly
rrlangly

Hi, I am having a hard time trying to understand how to get spherical coordinates from a distance that surrounds a center point (planet). I want to place objects evenly around it.

Can anyone point to a reference on how I might code this? I'm using C++, but anything will help.

taby
taby

https://mathworld.wolfram.com/SpherePointPicking.html

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.