Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5302 for data/media


Ignore:
Timestamp:
Dec 3, 2008, 4:51:41 PM (16 years ago)
Author:
martisty
Message:

load physcis stuff, problems with collision on plane

Location:
data/media/levels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • data/media/levels/physicstest2.oxw

    r5295 r5302  
    1717   hasPhysics   = true
    1818  >
    19  
     19      <!--SpawnPoint position="0,   0,  100"           spawnclass=SpaceShip pawndesign=spaceshipassff />
     20    <SpawnPoint position="0,   0, -700" yaw  =180 spawnclass=SpaceShip pawndesign=spaceshipassff />
     21    <SpawnPoint position="0, 300, -300" pitch=-90 spawnclass=SpaceShip pawndesign=spaceshipassff /-->
     22       
     23        <!-- axes in ogre's origin of coordinate system for phsics engine testing purposes-->
     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>
     36        </StaticEntity>
     37       
     38        <!-- red sphere for phsics engine testing purposes-->
     39        <StaticEntity position="40,0,0">
     40                <attached>
     41                        <Model position="0,0,0" scale=1 mesh="sphere.mesh" />
     42                </attached>
     43        </StaticEntity>
     44
     45        <!-- 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>
    2051    <LinearEntity
    2152     name            = "blubb"
  • data/media/levels/tutorial.oxw

    r5178 r5302  
    33
    44<!-- This is your own space ship. The complicated XML values are not important -->
    5 <SpaceShip
     5<TutorialShip
    66    camera="true" position="0,0,0" scale="10" yawpitchroll="0,0,0" mesh="assff.mesh" maxSpeed="500" maxSideAndBackSpeed="50" maxRotation="1.0" transAcc="200" rotAcc="3.0" transDamp="75" rotDamp="1.0"
     7
     8SpecialEffects="true"
    79
    810/>
Note: See TracChangeset for help on using the changeset viewer.