Changeset 6872
- Timestamp:
- May 10, 2010, 2:20:21 PM (15 years ago)
- Location:
- code/branches/fps
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/fps/data/levels/fps_test.oxw
r6867 r6872 21 21 <Light type=directional position="0,-100000,0" direction="0.02, -1, 0.05" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" /> 22 22 23 <StaticEntity position="0,-10000,0" direction="0,-1, 0" collisionType=static mass=100000>23 <StaticEntity position="0,-10000,0" direction="0,-1,2" collisionType=static mass=100000 friction=0.01 > 24 24 <attached> 25 25 <Model position="0,0,0" mesh="cube.mesh" scale3D="10000,10000,1000" /> -
code/branches/fps/data/levels/old/physicstest2.oxw
r6417 r6872 13 13 ambientlight = "0.5, 0.5, 0.5" 14 14 skybox = "Orxonox/Starbox" 15 gravity = "0,-50,0" 15 16 negativeWorldRange = "(-100000, -100000, -100000)" 16 17 positiveWorldRange = "( 100000, 100000, 100000)" -
code/branches/fps/data/levels/templates/fps.oxt
r6867 r6872 12 12 initialhealth = 100 13 13 14 primaryThrust = 100;15 auxilaryThrust = 30;16 rotationThrust = 25;14 primaryThrust = 0; 15 auxilaryThrust = 0; 16 rotationThrust = 0; 17 17 18 18 collisionType = "dynamic" … … 20 20 linearDamping = 0.7 21 21 angularDamping = 0.9999999 22 friction = 0.01 22 23 > 23 24 <!-- <attached> -
code/branches/fps/src/orxonox/worldentities/pawns/FpsPlayer.cc
r6867 r6872 79 79 this->setConfigValues(); 80 80 this->registerVariables(); 81 81 82 } 82 83 … … 122 123 if (this->hasLocalController()) 123 124 { 124 125 this->setOrientation(savedOrientation_); 126 125 127 thistickboost=false; 126 128 … … 150 152 151 153 this->yaw_ = this->pitch_ = this->roll_ = 0; 154 155 //Quaternion q=this->getOrientation(); 156 //if( q.y<0.99 ) this->setOrientation(q.w, q.x, 1.0, q.z); 157 this->setAngularVelocity(0.0, 0.0, 0.0); 158 savedOrientation_=this->getOrientation(); 152 159 } 153 160 -
code/branches/fps/src/orxonox/worldentities/pawns/FpsPlayer.h
r6867 r6872 88 88 bool isfloor; 89 89 bool thistickboost; 90 Quaternion savedOrientation_; 90 91 }; 91 92 }
Note: See TracChangeset
for help on using the changeset viewer.