Jump to content

Recommended Posts

Posted

i am trying to make a dinamic soler syatem in le edtor and have no idea how i would make a orbit falow a orbit that falowess a nother orbit that falows another orbt.

 

sun->plnet->moon->moon's moon

Tools:

AC3D | 3D Canvas(pro) | Texture Maker(pro) | Genetica(basic) | 3D World Studio | Fragmotion |Leadwerks 2 | XNA 4 | Visual Studio 2010 Professional | XCode 5.x |UU3D Pro

 

Programing & Scripting Languages:

C |C++ | C# | Obj-C | LUA | Javascript | PHP | Ruby

Posted

parent things to each other. Put a pivot in the center of the sun that is the parent to a planet. Then when you rotate that pivot the planet will go with it around the sun. Then put another pivot in the center of the planet and make that the parent to the moon and when you rotate that pivot the moon will do with it, etc etc. This will probably require some lua scripting though.

  • Upvote 1
Posted

ok i do that, thanks

Tools:

AC3D | 3D Canvas(pro) | Texture Maker(pro) | Genetica(basic) | 3D World Studio | Fragmotion |Leadwerks 2 | XNA 4 | Visual Studio 2010 Professional | XCode 5.x |UU3D Pro

 

Programing & Scripting Languages:

C |C++ | C# | Obj-C | LUA | Javascript | PHP | Ruby

Posted

If you parent your bodies you will only have geostationary orbits (and movement in perfect circles) which celestial bodies do not. Ofcourse, if you are not looking for that kind of realism than parenting works fine.

Posted

The fact that the pivots are parented to the sun or the planets does not preclude having independant rotational speed of the satelite objects to the objects they are orbiting as you can develop maths fairly easily to rotate an object about a given point in space (i.e. the pivot points). However, as Laurens points out you wont get elliptical orbits using this method alone.

 

I had a play around with the idea of a solar pool game in the early days of Leadwerks and had planets on a pool table with orbiting satelites that you could roll down the table as the moons revolved on a constant plane.

 

[edit] I found a vid I made of it at the time:

 

Old Solar Pool Demo

 

I abandoned it at the time because of problems with the physics and moved onto other things.

  • Upvote 1

Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++

Posted

by paranting a planet to the pivot of the sun would keep the planet from spinning right? You would get a planet orbiting the sun but with only one side facing the sun at all times correct?

maybe a way to solve this would be to place a pivot in the sun, a pivot in the planet, and ball socket the planet to it's pivot? Thus you could in addition rotate the planet as it is orbiting the sun?

I could be wrong, perhaps making no sense, and perhaps it would be better to use animated textures to make the planet "look" like it is rotating instead.

Anyways that was my thoughts on the matter.

  • Upvote 1

Win7: 3.4GHz i7, 16Gb RAM DDR3, Radeon HD 6970 2048MB

Posted

Just rotate the planet model if you want that to rotate. The pivot you place inside the sun is rotating which rotates the planet around the sub. Then just rotate the planet. They the be rotated at different speeds.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...