Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5335


Ignore:
Timestamp:
Dec 10, 2008, 1:58:49 PM (16 years ago)
Author:
rgrieder
Message:

Physics test file update.

Location:
data/media/levels
Files:
1 added
1 edited

Legend:

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

    r5302 r5335  
    33?>
    44<?lua
    5   include("levels/hudtemplates.oxw")
     5  include("levels/hudtemplates_physics.oxw")
    66?>
    77
     
    2323        <!-- axes in ogre's origin of coordinate system for phsics engine testing purposes-->
    2424        <StaticEntity
    25           position        = "0,0,0"
    26           name            = "banana"
    27           collisionType   = "static"
    28           mass            = 1000
    29         >
    30                 <attached>
    31                         <Model position="0,0,0" scale=10 mesh="plane.mesh" />
    32                 </attached>
    33                 <collisionShapes>
    34                      <!--PlaneCollisionShape name="first_planeShape" normal="0,1,0" offset=0 /-->
    35                 </collisionShapes>
     25     position        = "0,0,0"
     26     name            = "banana"
     27     collisionType   = "static"
     28     mass            = 1000
     29    >
     30      <attached>
     31        <Model position="0,0,0" scale=100 mesh="plane.mesh" />
     32        <Model position="0,-0.0001,0" roll=180 scale=100 mesh="plane.mesh" />
     33       
     34      </attached>
     35      <collisionShapes>
     36        <PlaneCollisionShape name="thePlane" planeNormal="0,1,0" planeOffset=0 />
     37      </collisionShapes>
    3638        </StaticEntity>
    3739       
    3840        <!-- red sphere for phsics engine testing purposes-->
    39         <StaticEntity position="40,0,0">
     41        <!--StaticEntity position="40,0,0">
    4042                <attached>
    4143                        <Model position="0,0,0" scale=1 mesh="sphere.mesh" />
    4244                </attached>
    43         </StaticEntity>
     45        </StaticEntity-->
    4446
    4547        <!-- yellow cube for phsics engine testing purposes-->
    46         <StaticEntity position="80,0,0">
    47                 <attached>
    48                         <Model position="0,0,0" scale=1 mesh="cube.mesh" />
    49                 </attached>
    50         </StaticEntity>
     48        <!--StaticEntity position="80,0,0">
     49      <attached>
     50        <Model position="0,0,0" scale=1 mesh="cube.mesh" />
     51      </attached>
     52        </StaticEntity-->
     53   
    5154    <LinearEntity
    5255     name            = "blubb"
    53      position        = "-250, 30, -500"
     56     position        = "-150, 20, -500"
    5457     collisionType   = "kinematic"
    55      mass            = 10
    56      velocity        = "100, 0, 0"
    57     >
    58       <attached>
    59         <Model name = "moedeli" position="0,0,0" scale=10 mesh="ast1.mesh" />
     58     mass            = 10000
     59     velocity        = "30, 0, 0"
     60    >
     61      <attached>
     62        <Model name = "moedeli" position="0,0,0" scale=20 mesh="sphere.mesh" />
    6063        <StaticEntity name="hahaha" position="0,0,0" collisionType="static">
    6164          <collisionShapes>
     
    6568      </attached>
    6669     
    67       <!--collisionShapes>
     70      <!--attached>
    6871        <SphereCollisionShape name = "secondSphere" radius=0.4 position="1,1,1"/>
    6972        <CompoundCollisionShape position="4,4,4">
    7073          <SphereCollisionShape name = "thirdSphere" radius=1.0/>
    7174        </CompoundCollisionShape>
    72       </collisionShapes-->
     75      </attached-->
    7376    </LinearEntity>
    7477 
    7578    <LinearEntity
    7679     name            = "blubb2"
    77      position        = "250, 0, -500"
     80     position        = "150, 30, -500"
    7881     collisionType   = "dynamic"
    7982     mass            = 10
    80      velocity        = "-100, 0, 0"
    81     >
    82       <attached>
    83         <Model position="0,0,0" scale=10 mesh="ast1.mesh" />
     83     velocity        = "-30, 0, 0"
     84    >
     85      <attached>
     86        <Model position="0,0,0" scale=20 mesh="sphere.mesh" />
    8487      </attached>
    8588      <collisionShapes>
     
    9093    <StaticEntity
    9194     name            = "blubbStatic"
    92      position        = "50, -20, -500"
    93      collisionType   = "static"
     95     position        = "0, 15, -500"
     96     collisionType   = "Static"
    9497     mass            = 10
    9598    >
    9699      <attached>
    97         <Model position="0,0,0" scale=10 mesh="ast1.mesh" />
     100        <Model position="0,0,0" scale=20 mesh="sphere.mesh" />
    98101      </attached>
    99102      <collisionShapes>
     
    154157
    155158
    156     <ParticleSpawner position="0,0,100" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0>
     159    <ParticleSpawner position="0,5,100" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0>
    157160      <events>
    158161        <spawn>
     
    160163            <events>
    161164              <trigger>
    162                 <SpawnPoint position="0,0,100" spawnclass=SpaceShip pawndesign=spaceshipassff />
     165                <SpawnPoint position="0,5,100" spawnclass=SpaceShip pawndesign=spaceshipassff />
    163166              </trigger>
    164167            </events>
Note: See TracChangeset for help on using the changeset viewer.