Re-evaluation of importance:

After spending a long time, trying many different solutions I can only get partial success, either the Three.js objects jump around or the new masses don’t spawn correctly.

In light of the amount of time I’ve already spent of this problem and the fact that its not of major importance to my project I have decided to leave the planets with their gravity but without the collision function. So the planets will now just bounce of each other instead of creating a new larger planet.

I may return to this function at a later date if I have spare time but for now I’m happy with the progress I’ve made with the planet creation functions and gravity simulation.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s