Changeset 11184 for code/branches/tgidronFS16/src/modules/hover
- Timestamp:
- May 12, 2016, 4:02:21 PM (9 years ago)
- Location:
- code/branches/tgidronFS16
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/tgidronFS16
- Property svn:mergeinfo changed
/code/trunk (added) merged: 11156-11157,11160-11161,11176
- Property svn:mergeinfo changed
-
code/branches/tgidronFS16/src/modules/hover/Hover.cc
r11182 r11184 169 169 Pawn* crate = new Pawn(origin_->getContext()); 170 170 171 172 crate->addTemplate(origin_->getObstacleTemplate()); 171 173 crate->setPosition(get3dCoordinates(rand()%numCells, rand()%numCells, 10.0f)); 172 crate->addTemplate(origin_->getObstacleTemplate()); 173 crate->setInitialHealth(100.0f); 174 //ate->setInitialHealth(100.0f); 174 175 175 176 -
code/branches/tgidronFS16/src/modules/hover/HoverFlag.cc
r11099 r11184 87 87 model_ = new Model(this->getContext()); 88 88 model_->setMeshSource("ss_flag_eu.mesh"); 89 model_->setScale3D(Vector3( 5, 5, 5));90 model_->setPosition(Vector3(xCoordinate*cellSize*1.0f + cellSize/2, 10.0f,yCoordinate*cellSize*1.0f + cellSize/2));89 model_->setScale3D(Vector3(30, 30, 30)); 90 model_->setPosition(Vector3(xCoordinate*cellSize*1.0f + cellSize/2,50.0f,yCoordinate*cellSize*1.0f + cellSize/2)); 91 91 92 92 this->attach(model_); 93 93 94 94 cs_ = new BoxCollisionShape(this->getContext()); 95 cs_->setHalfExtents(Vector3( 5, 5, 5));95 cs_->setHalfExtents(Vector3(30, 30, 30)); 96 96 cs_->setPosition(Vector3(xCoordinate*cellSize*1.0f + cellSize/2,0.0f,yCoordinate*cellSize*1.0f + cellSize/2)); 97 97 -
code/branches/tgidronFS16/src/modules/hover/HoverOrigin.cc
r11182 r11184 48 48 //not needed 49 49 50 /*pickupTemplate_ = "";50 pickupTemplate_ = ""; 51 51 pickupRepresentationTemplate_ = ""; 52 52 … … 56 56 57 57 pickupTemplateShrink_ = ""; 58 pickupRepresentationTemplateShrink_ = ""; */58 pickupRepresentationTemplateShrink_ = ""; 59 59 } 60 60
Note: See TracChangeset
for help on using the changeset viewer.