adapting a Unity gravitational script to allow moons
Posted
by
PartyMix
on Game Development
See other posts from Game Development
or by PartyMix
Published on 2012-11-19T03:07:10Z
Indexed on
2012/11/19
5:29 UTC
Read the original article
Hit count: 351
I'm using this script: http://wiki.unity3d.com/index.php/Simple_planetary_orbits
to get a solar system going in Unity, but it doesn't seem to support creating bodies that orbit other moving bodies (or I am using it incorrectly).
Any idea about how to modify it so that it does (or just use it correctly)? I've been beating my head against this problem for a couple hours, and I really don't feel like I have any idea what I'm doing.
Thanks in advance.
© Game Development or respective owner