Changeset 11524 for code/branches/AsteroidMining_HS17
- Timestamp:
- Oct 30, 2017, 4:22:22 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/AsteroidMining_HS17/src/orxonox/worldentities/pawns/AsteroidMinable.cc
r11520 r11524 80 80 this->setRadarObjectShape(RadarViewable::Shape::Dot); 81 81 82 this->generateSmaller = true; 82 83 this->size = 5; 83 84 this->context = context; … … 148 149 149 150 150 151 this->spawnChildren(); 151 if(this->generateSmaller){ 152 this->spawnChildren(); 153 } 152 154 153 155 … … 186 188 //Relativ zu Elternteil automatisch? 187 189 //Typ position:rand()*Vektoriwas? 190 // pawn->getWorldPosition() + Vector3(30,0,-30); 188 191 child->setPosition(this->getCarrierPosition()); 189 192 }
Note: See TracChangeset
for help on using the changeset viewer.