Changeset 1185
- Timestamp:
- Apr 24, 2008, 11:39:06 PM (17 years ago)
- Location:
- code/branches/network3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network3/bin/levels/sample.oxw
r1184 r1185 9 9 </audio--> 10 10 11 <!--Ambient colourvalue="1,1,1" / >12 < Skybox src="Orxonox/StarSkyBox" /-->11 <!--Ambient colourvalue="1,1,1" /--> 12 <!--Skybox src="Orxonox/StarSkyBox" /--> 13 13 14 14 <SpaceShip camera="true" position="0,0,0" scale="10" yawpitchroll="-90,-90,0" mesh="assf3.mesh" maxSpeed="500" maxSideAndBackSpeed="50" maxRotation="1.0" transAcc="200" rotAcc="3.0" transDamp="75" rotDamp="1.0" /> 15 15 16 < !--NPC position="0,100,400" scale="1" mesh="razor.mesh"/>16 <NPC position="0,100,400" scale="1" mesh="razor.mesh"/> 17 17 <NPC position="0,100,400" scale="1" mesh="razor.mesh"/> 18 18 <NPC position="0,-100,500" scale="1" mesh="razor.mesh"/> 19 19 <NPC position="0,-200,450" scale="1" mesh="razor.mesh"/> 20 <NPC position="100,0,400" scale="1" mesh="razor.mesh"/ -->20 <NPC position="100,0,400" scale="1" mesh="razor.mesh"/> 21 21 22 22 <!--Model name="starship" position="200,0,500" scale="10" mesh="starship.mesh" yawpitchroll="-90,-90,0" /> -
code/branches/network3/src/orxonox/objects/WorldEntity.cc
r1184 r1185 206 206 registerVar( (void*) &(this->getOrientation().y), sizeof(this->getOrientation().y), network::DATA); 207 207 registerVar( (void*) &(this->getOrientation().z), sizeof(this->getOrientation().z), network::DATA); 208 // not needed at the moment, because we don't have prediction yet209 208 // register velocity_ 210 209 registerVar( (void*) &(this->getVelocity().x), sizeof(this->getVelocity().x), network::DATA); … … 216 215 registerVar( (void*) &(this->getRotationAxis().y), sizeof(this->getRotationAxis().y), network::DATA); 217 216 registerVar( (void*) &(this->getRotationAxis().z), sizeof(this->getRotationAxis().z), network::DATA); 218 217 // register scale of node 219 218 registerVar( (void*) &(this->getScale().x), sizeof(this->getScale().x), network::DATA); 220 219 registerVar( (void*) &(this->getScale().y), sizeof(this->getScale().y), network::DATA);
Note: See TracChangeset
for help on using the changeset viewer.