[Orxonox-commit 7301] r11918 - code/branches/3DPacman_FS18/data/levels
dreherm at orxonox.net
dreherm at orxonox.net
Sun Apr 29 01:38:20 CEST 2018
Author: dreherm
Date: 2018-04-29 01:38:20 +0200 (Sun, 29 Apr 2018)
New Revision: 11918
Modified:
code/branches/3DPacman_FS18/data/levels/3DPacman.oxw
Log:
Added Collsionshapes
Modified: code/branches/3DPacman_FS18/data/levels/3DPacman.oxw
===================================================================
--- code/branches/3DPacman_FS18/data/levels/3DPacman.oxw 2018-04-28 23:12:17 UTC (rev 11917)
+++ code/branches/3DPacman_FS18/data/levels/3DPacman.oxw 2018-04-28 23:38:20 UTC (rev 11918)
@@ -34,30 +34,32 @@
<SpawnPoint team=0 position="0,10,245" lookat="0,0,0" spawnclass=PacmanGelb pawndesign=PacmanGelb />
-<PacmanGhost position="135,10,15" resetposition="135,10,15">
+<--! GHOSTS -->
+<PacmanGhost position="0,0,0">
<attached>
<Model position="0,0,0" mesh="PacmanGhostRed.mesh" scale="5" />
</attached>
</PacmanGhost>
-<PacmanGhost position="135,10,15" resetposition="135,10,15">
+<PacmanGhost position="0,0,0">
<attached>
<Model position="0,0,0" mesh="PacmanGhostBlue.mesh" scale="5" />
</attached>
</PacmanGhost>
-<PacmanGhost position="135,10,15" resetposition="135,10,15">
+<PacmanGhost position="0,0,0">
<attached>
<Model position="0,0,0" mesh="PacmanGhostOrange.mesh" scale="5" />
</attached>
</PacmanGhost>
-<PacmanGhost position="135,10,15" resetposition="135,10,15">
+<PacmanGhost position="0,0,0">
<attached>
<Model position="0,0,0" mesh="PacmanGhostPink.mesh" scale="5" />
</attached>
</PacmanGhost>
+<--! POINTS -->
<PacmanPointSphere position="0,10,0">
<attached>
<Model position="0,0,0" mesh="PacmanPointSphere.mesh" scale="5" />
@@ -76,6 +78,10 @@
</attached>
</PacmanPointSphere>
+
+
+
+<--! Map -->
<StaticEntity position="0,0,25" direction="0,0,0" collisionType=static mass=100000 friction=0.01 >
<attached>
<Model position="0,0,0" mesh="PacmanMap.mesh" scale="50" />
@@ -82,11 +88,22 @@
</attached>
<collisionShapes>
+ <--! Edge -->
<BoxCollisionShape position="250,10,0" halfExtents="1,15,250" />
<BoxCollisionShape position="-250,10,0" halfExtents="1,15,250" />
- <BoxCollisionShape position="0,10,250" halfExtents="250,15,1" />
- <BoxCollisionShape position="0,10,-250" halfExtents="250,15,1" />
-
+ <BoxCollisionShape position="0,10,250" halfExtents="250,15,1" />
+ <BoxCollisionShape position="0,10,-250" halfExtents="250,15,1" />
+
+ <--! Shapes in order -->
+ <BoxCollisionShape position="-35,10,-200" halfExtents="40,15,25" />
+ <BoxCollisionShape position="60,10,-200" halfExtents="40,15,25" />
+ <BoxCollisionShape position="-35,10,200" halfExtents="40,15,25" />
+ <BoxCollisionShape position="60,10,200" halfExtents="40,15,25" />
+
+ <BoxCollisionShape position="-175,10,-165" halfExtents="30,15,20" />
+
+
+
</collisionShapes>
</StaticEntity>
More information about the Orxonox-commit
mailing list