Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11918 for code


Ignore:
Timestamp:
Apr 29, 2018, 1:38:20 AM (7 years ago)
Author:
dreherm
Message:

Added Collsionshapes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/3DPacman_FS18/data/levels/3DPacman.oxw

    r11915 r11918  
    3535
    3636
    37 <PacmanGhost position="135,10,15" resetposition="135,10,15">
     37<--! GHOSTS -->
     38<PacmanGhost position="0,0,0">
    3839    <attached>
    3940        <Model position="0,0,0" mesh="PacmanGhostRed.mesh" scale="5" />
     
    4142</PacmanGhost>
    4243
    43 <PacmanGhost position="135,10,15" resetposition="135,10,15">
     44<PacmanGhost position="0,0,0">
    4445    <attached>
    4546        <Model position="0,0,0" mesh="PacmanGhostBlue.mesh" scale="5" />
     
    4748</PacmanGhost>
    4849
    49 <PacmanGhost position="135,10,15" resetposition="135,10,15">
     50<PacmanGhost position="0,0,0">
    5051    <attached>
    5152        <Model position="0,0,0" mesh="PacmanGhostOrange.mesh" scale="5" />
     
    5354</PacmanGhost>
    5455
    55 <PacmanGhost position="135,10,15" resetposition="135,10,15">
     56<PacmanGhost position="0,0,0">
    5657    <attached>
    5758        <Model position="0,0,0" mesh="PacmanGhostPink.mesh" scale="5" />
     
    5960</PacmanGhost>
    6061
     62<--! POINTS -->
    6163<PacmanPointSphere position="0,10,0">
    6264    <attached>
     
    7779</PacmanPointSphere>
    7880
     81
     82
     83
     84<--! Map -->
    7985<StaticEntity position="0,0,25" direction="0,0,0" collisionType=static mass=100000 friction=0.01 >
    8086    <attached>
     
    8389    <collisionShapes>
    8490
     91  <--! Edge -->
    8592        <BoxCollisionShape position="250,10,0" halfExtents="1,15,250" />
    8693        <BoxCollisionShape position="-250,10,0" halfExtents="1,15,250" />
    87         <BoxCollisionShape position="0,10,250" halfExtents="250,15,1" />
    88         <BoxCollisionShape position="0,10,-250" halfExtents="250,15,1" />
    89  
     94  <BoxCollisionShape position="0,10,250" halfExtents="250,15,1" />
     95  <BoxCollisionShape position="0,10,-250" halfExtents="250,15,1" />
     96
     97  <--! Shapes in order -->
     98  <BoxCollisionShape position="-35,10,-200" halfExtents="40,15,25" />
     99  <BoxCollisionShape position="60,10,-200" halfExtents="40,15,25" />
     100  <BoxCollisionShape position="-35,10,200" halfExtents="40,15,25" />
     101  <BoxCollisionShape position="60,10,200" halfExtents="40,15,25" />
     102
     103  <BoxCollisionShape position="-175,10,-165" halfExtents="30,15,20" />
     104
     105
     106
    90107    </collisionShapes>
    91108</StaticEntity>
Note: See TracChangeset for help on using the changeset viewer.