Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 2, 2011, 3:35:23 PM (14 years ago)
Author:
fmauro
Message:

Added newtonian gravity to asteriods and comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/environment3/data/levels/asteroidField.oxw

    r8889 r8917  
    2828    ambientlight = "0.8, 0.8, 0.8"
    2929    skybox       = "Orxonox/Starbox"
     30    hasPhysics   = true
    3031  >
    3132
    3233    <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/>
    3334    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff2 />
    34    
     35
     36    <!-- Generate asteroid field with diameter 12000 containing 250 asteroids -->   
    3537    <?lua
    3638        dofile("includes/asteroidField.lua")
    37         asteroidField(0, 0, 0, 12000, 250)
     39        asteroidField(0, 0, 0, 150, 50,12000, 250)
    3840    ?>
    3941   
Note: See TracChangeset for help on using the changeset viewer.