View Single Post
  #23  
Old December 9th, 2007, 03:42 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: XFile Creation and XFileClasses Effects

I am confused about how the axes are arranged in regards to XFile_Classes, particularly for stellar objects. This is defined for every planet in XFileClasses_Stellar.txt:

Starting Rotate X := 50
Starting Rotate Y := 0
Starting Rotate Z := 25
...
Continual Rotation Vector X := 0
Continual Rotation Vector Y := 0
Continual Rotation Vector Z := 25
Continual Rotation Speed := 0.0001

The Continual Rotation seems to make sense, assuming the Z axis goes through the top and bottom of the planet, perpendicular to the system hex grid. Rotating around this axis should logically rotate the planet from left to right, along the system hex grid. However, the Starting Rotate Z value makes no sense... If I set it to 0, planets start out on their side, as in the attached screenshot (you can see the polar ice cap coming up on the left for the selected hydrogen planet; should be at the top with any value of Starting Rotate Z?) . Starting Rotate Z seems to be rotating along a different axis entirely; seemingly the Y axis. Shouldn't a non-zero value for Starting Rotate Z rotate the planet around the axis going through the top and bottom of the planet, perpendicular to the system hex grid? Am I misunderstanding the geometry of the SE5 engine, or is something screwy going on here?
Attached Images
File Type: jpg 569679-starting_rotate_z_zero.jpg (314.7 KB, 241 views)
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote