Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 29, 2014, 11:16:16 AM (10 years ago)
Author:
muemart
Message:

Fix rotation if parent is already rotated. Everything hopefully now works as expected. It's a giant mess right now, so still have to clean it up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/turretFS14/data/levels/turretTest.oxw

    r10039 r10042  
    3434
    3535
    36 <SpaceShip position="-100,0,0" yaw=0 pitch=0>
     36<!-- <SpaceShip position="-100,0,0" yaw=0 pitch=0>
    3737    <attached>
    3838        <Model position="0,0,0" mesh="turretSocketFront.mesh" scale3D="10,10,10" />
     
    5858
    5959    </attached>
    60 </SpaceShip>
     60</SpaceShip> -->
     61<StaticEntity position="100,0,0">
     62  <attached>
     63    <Model mesh="sphere.mesh" position="20,0,0" scale=1/>
    6164
    62 <SpaceShip position="100,0,0" yaw=0 pitch=0>
     65    <Model mesh="sphere.mesh" position="0,25,0" scale=1.5/>
     66
     67    <Model mesh="sphere.mesh" position="0,0,30" scale=2/>
     68  </attached>
     69</StaticEntity>
     70<SpaceShip position="100,0,0" yaw=0 pitch=90>
    6371    <attached>
    6472        <Model position="0,0,0" mesh="turretSocketFront.mesh" scale3D="10,10,10" />
     
    7381            </templates>
    7482            <controller>
    75               <TurretController team=9 />
     83              <TurretController team=10 />
    7684            </controller>
    7785        </Turret>
    7886
    79         <Model mesh="sphere.mesh" position="20,0,0" scale=1/>
    8087
    81         <Model mesh="sphere.mesh" position="0,25,0" scale=1/>
    82 
    83         <Model mesh="sphere.mesh" position="0,0,30" scale=1/>
    8488
    8589    </attached>
Note: See TracChangeset for help on using the changeset viewer.