UFO: Alien Invasion Issue Tracker
Please log in to bookmark issues
OPEN  Bug report #3134  -  Moon has wrong rotation
Posted Feb 05, 2012 - updated Jan 28, 2013
alextishin (alextishin) has been working on this issue since January 28, 2013 (20:48)
Issue details
  • Type of issue
    Bug report
  • Status
  • Assigned to
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
  • Owned by
    Not owned by anyone
  • Estimated time
    Not estimated
  • Category
  • Resolution
    Not determined
  • Priority
    2. Low
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Targetted for
    icon_milestones.png Not determined
  • Complexity
    icon_customdatatype.png Not determined
  • Platform
    icon_customdatatype.png Not determined
  • Architecture
    icon_customdatatype.png Not determined
Issue description
Item 3134 imported from sourceforge.net tracker on 2013-01-28 20:02:17

One side of the moon should always face the earth. It seems now the moon has no spin of its own, but should make one revolution on its own axis each revolution around the earth.

minor, but it caught my eye smileys/2.png
Comments Ported from Sourceforge  ⇑ top
aduke1 (2012-02-16 23:45:04)  ⇑ top
The priority was adjusted according to the "bug priority rules". See http://ufoai.ninex.info/wiki/index.php/Bugs#Bug_Priorities
aduke1 (2012-11-02 19:49:47.368000)  ⇑ top
Sandro, geever claimed you could do something about this...
aduke1 (2012-11-08 20:46:19.661000)  ⇑ top
Sandro_sleepy's quick report on the wrong lunar rotation problem: 1) geoscape coordinate systmem is Ptolemaic (makes sense since view is Earth-centered) 2) Celestial bodies are rotated via their Euler angles in yaw->pitch->roll order (hmmm, could work with "horisontal" setup, but there are general problems with Euler anlges) 3) Coordinate system for geoscape is "horisontal", i.e. set up in quatorial plane as the XZ OpenGL plane (good so far) (ominuous misic starts playing here) 4) all celestial bodies are defined in reference frame rotated 90 degrees, so default position of them is south pole to the viewer 5) current code fixes that for Earth by injecting some funny values into its Euler angles 6) but it makes Moon rotate backwards two times a day smileys/4.png
Steps to reproduce this issue
Nothing entered.