Changeset 11495 for code/trunk/src/modules/hover/HoverFlag.cc
- Timestamp:
- Oct 23, 2017, 12:23:21 AM (7 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/tgidronFS16 removed
- Property svn:mergeinfo changed
-
code/trunk/src/modules/hover/HoverFlag.cc
r11493 r11495 87 87 model_ = new Model(this->getContext()); 88 88 model_->setMeshSource("ss_flag_eu.mesh"); 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));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)); 91 91 92 92 this->attach(model_); 93 93 94 94 cs_ = new BoxCollisionShape(this->getContext()); 95 cs_->setHalfExtents(Vector3( 30, 30, 30));95 cs_->setHalfExtents(Vector3(5, 5, 5)); 96 96 cs_->setPosition(Vector3(xCoordinate*cellSize*1.0f + cellSize/2,0.0f,yCoordinate*cellSize*1.0f + cellSize/2)); 97 97
Note: See TracChangeset
for help on using the changeset viewer.