Changeset 5335
- Timestamp:
- Dec 10, 2008, 1:58:49 PM (16 years ago)
- Location:
- data/media/levels
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
data/media/levels/physicstest2.oxw
r5302 r5335 3 3 ?> 4 4 <?lua 5 include("levels/hudtemplates .oxw")5 include("levels/hudtemplates_physics.oxw") 6 6 ?> 7 7 … … 23 23 <!-- axes in ogre's origin of coordinate system for phsics engine testing purposes--> 24 24 <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> 36 38 </StaticEntity> 37 39 38 40 <!-- red sphere for phsics engine testing purposes--> 39 < StaticEntity position="40,0,0">41 <!--StaticEntity position="40,0,0"> 40 42 <attached> 41 43 <Model position="0,0,0" scale=1 mesh="sphere.mesh" /> 42 44 </attached> 43 </StaticEntity >45 </StaticEntity--> 44 46 45 47 <!-- 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 51 54 <LinearEntity 52 55 name = "blubb" 53 position = "- 250, 30, -500"56 position = "-150, 20, -500" 54 57 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" /> 60 63 <StaticEntity name="hahaha" position="0,0,0" collisionType="static"> 61 64 <collisionShapes> … … 65 68 </attached> 66 69 67 <!-- collisionShapes>70 <!--attached> 68 71 <SphereCollisionShape name = "secondSphere" radius=0.4 position="1,1,1"/> 69 72 <CompoundCollisionShape position="4,4,4"> 70 73 <SphereCollisionShape name = "thirdSphere" radius=1.0/> 71 74 </CompoundCollisionShape> 72 </ collisionShapes-->75 </attached--> 73 76 </LinearEntity> 74 77 75 78 <LinearEntity 76 79 name = "blubb2" 77 position = " 250,0, -500"80 position = "150, 30, -500" 78 81 collisionType = "dynamic" 79 82 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" /> 84 87 </attached> 85 88 <collisionShapes> … … 90 93 <StaticEntity 91 94 name = "blubbStatic" 92 position = " 50, -20, -500"93 collisionType = " static"95 position = "0, 15, -500" 96 collisionType = "Static" 94 97 mass = 10 95 98 > 96 99 <attached> 97 <Model position="0,0,0" scale= 10 mesh="ast1.mesh" />100 <Model position="0,0,0" scale=20 mesh="sphere.mesh" /> 98 101 </attached> 99 102 <collisionShapes> … … 154 157 155 158 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> 157 160 <events> 158 161 <spawn> … … 160 163 <events> 161 164 <trigger> 162 <SpawnPoint position="0, 0,100" spawnclass=SpaceShip pawndesign=spaceshipassff />165 <SpawnPoint position="0,5,100" spawnclass=SpaceShip pawndesign=spaceshipassff /> 163 166 </trigger> 164 167 </events>
Note: See TracChangeset
for help on using the changeset viewer.