B
B
BezMozgov2020-05-21 10:29:59
C++ / C#
BezMozgov, 2020-05-21 10:29:59

How to implement rotation around the sphere?

The problem is this: we need to implement the movement of the player around the sphere. The object should turn and move forward. Maybe someone knows how to implement such an idea?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Developer, 2020-05-21
@samodum

It's simple. We find the coordinates X, Y, Z, knowing the radius of the sphere, the coordinates of its center and two angles: latitude and longitude

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question