Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 13, 2014, 3:52:23 PM (11 years ago)
Author:
noep
Message:

Tried (and failed) to fix output of CollisionShape-structure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/modularships/data/levels/emptyLevel.oxw

    r9997 r10001  
    4949    </MovableEntity>
    5050   
    51     <Pawn health=1000 initialhealth=1000 maxhealth=1000 position="0,-100,0" direction="0,0,0" collisionType=dynamic mass=1000 name=box radarname = "Box 4" >
     51    <Pawn health=1000 initialhealth=1000 maxhealth=1000 position="0,-100,-100" direction="0,0,0" collisionType=dynamic mass=1000 name=box radarname = "Pawn 0" >
    5252        <attached>
    53             <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
    54             <Model position="0,-30,0" mesh="cube.mesh" scale3D="15,15,15" />
    55             <StaticEntity position="0,-60,0" direction="0,0,0" collisionType=static mass=100 friction=0.01 >
     53            <Model position="0,0,0" mesh="crate.mesh" scale3D="6,6,6" />
     54            <Model position="0,-60,0" mesh="cube.mesh" scale3D="30,30,30" />
     55            <StaticEntity position="0,-120,0" direction="0,0,0" collisionType=static mass=100 friction=0.01 >
    5656                <attached>
    57                     <Model position="0,0,0" mesh="cube.mesh" scale3D="15,15,15" />
    58                     <Model position="0,0,30" mesh="cube.mesh" scale3D="15,15,15" />
     57                    <Model position="0,0,0" mesh="crate.mesh" scale3D="6,6,6" />
     58                    <Model position="0,0,60" mesh="cube.mesh" scale3D="30,30,30" />
    5959                </attached>
    6060                <collisionShapes>
    61                     <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
    62                     <BoxCollisionShape position="0,0,30" halfExtents="15,15,15" />
     61                    <BoxCollisionShape position="0,0,0" halfExtents="30,30,30" />
     62                    <BoxCollisionShape position="0,0,60" halfExtents="30,30,30" />
    6363                </collisionShapes>
    6464            </StaticEntity>
    6565        </attached>
    6666        <collisionShapes>
    67             <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
    68             <BoxCollisionShape position="0,-30,0" halfExtents="15,15,15" />
     67            <BoxCollisionShape position="0,0,0" halfExtents="30,30,30" />
     68            <BoxCollisionShape position="0,-60,0" halfExtents="30,30,30" />
     69        </collisionShapes>
     70    </Pawn>
     71
     72    <Pawn health=1000 initialhealth=1000 maxhealth=1000 position="0,-100,100" direction="0,0,0" collisionType=dynamic mass=1000 name=box radarname = "Pawn 1" >
     73        <attached>
     74            <Model position="0,0,0" mesh="crate.mesh" scale3D="6,6,6" />
     75            <Model position="0,-60,0" mesh="cube.mesh" scale3D="30,30,30" />
     76        </attached>
     77        <collisionShapes>
     78            <BoxCollisionShape position="0,0,0" halfExtents="30,30,30" />
     79            <BoxCollisionShape position="0,-60,0" halfExtents="30,30,30" />
    6980        </collisionShapes>
    7081    </Pawn>
Note: See TracChangeset for help on using the changeset viewer.