Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 30, 2012, 1:51:55 PM (13 years ago)
Author:
laumerf
Message:

new collision shape

Location:
code/branches/surfaceRace/data/levels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/surfaceRace/data/levels/surfaceRace.oxw

    r9059 r9061  
    2424    ambientlight = "2.0, 2.0, 2.0"
    2525    skybox       = "Orxonox/skyBoxClouds"
    26     gravity      = "0,-150,0"
     26    gravity      = "0,-70,0"
    2727    negativeWorldRange = "-100000, -100000, -100000"
    2828    positiveWorldRange = " 100000,  100000,  100000"
     
    3636        <Model position="0,0,0" mesh="testcube.mesh" scale3D="5000,5000,5000" />
    3737      </attached>
     38
     39        <!-- ------------------Boden----------------- -->
    3840      <collisionShapes>
    3941        <BoxCollisionShape position="0,50,0" halfExtents="5000,5000,5000" />
     42      </collisionShapes>
     43       
     44        <!-- ------------------obere Begrenzung----------------- -->
     45       <collisionShapes>
     46        <BoxCollisionShape position="0,70,0" halfExtents="5000,10,5000" />
    4047      </collisionShapes>
    4148  </StaticEntity>
  • code/branches/surfaceRace/data/levels/templates/spaceshipRace.oxt

    r9059 r9061  
    4949    <collisionShapes>
    5050
    51         <ConeCollisionShape position="0,0,0"     hight="15" radius="15" />
    52        
     51      <BoxCollisionShape position="0,0,0"      halfExtents="10, 3, 5" />
     52      <BoxCollisionShape position="13,-1.3,0"  halfExtents="3, 1, 2" />
     53      <BoxCollisionShape position="-13,-1.3,0" halfExtents="3, 1, 2" />
     54      <BoxCollisionShape position="0,0,7"      halfExtents="3, 2, 2" />
     55      <BoxCollisionShape position="0,0.1,-11"  halfExtents="2.2, 1.8, 6" />
     56      <BoxCollisionShape position="0,0.1,-19"  halfExtents="1.4, 1, 2" />
     57
    5358    </collisionShapes>
    5459<?lua
Note: See TracChangeset for help on using the changeset viewer.