Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5289


Ignore:
Timestamp:
Nov 28, 2008, 1:25:57 AM (15 years ago)
Author:
rgrieder
Message:

Added physics test stuff. Might not work with spaceshiptemplates.oxw.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • data/media/levels/physicstest2.oxw

    r5268 r5289  
    1010   ambientlight = "0.5, 0.5, 0.5"
    1111   skybox       = "Orxonox/Starbox"
     12   negativeWorldRange = "(-100000, -100000, -100000)"
     13   positiveWorldRange = "( 100000,  100000,  100000)"
     14   hasPhysics   = true
    1215  >
    1316 
    14     <HelloBullet/>
     17    <LinearEntity
     18     position        = "0, 30, 0"
     19     collisionType   = "Dynamic"
     20     collisionRadius = 20
     21     mass            = 10
     22     velocity        = "0, 0, -100"
     23    >
     24      <attached>
     25        <Model position="0,0,0" scale=10 mesh="ast1.mesh" />
     26      </attached>
     27    </LinearEntity>
     28 
     29    <LinearEntity
     30     position        = "0, 0, -500"
     31     collisionType   = "kinematic"
     32     collisionRadius = 20
     33     mass            = 10
     34     velocity        = "0, 0, 100"
     35    >
     36      <attached>
     37        <Model position="0,0,0" scale=10 mesh="ast1.mesh" />
     38      </attached>
     39    </LinearEntity>
    1540   
    1641    <!--SpawnPoint position="0,   0,  100"           spawnclass=SpaceShip pawndesign=spaceshipassff />
Note: See TracChangeset for help on using the changeset viewer.