Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11524


Ignore:
Timestamp:
Oct 30, 2017, 4:22:22 PM (7 years ago)
Author:
remartin
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/AsteroidMining_HS17/src/orxonox/worldentities/pawns/AsteroidMinable.cc

    r11520 r11524  
    8080        this->setRadarObjectShape(RadarViewable::Shape::Dot);
    8181
     82        this->generateSmaller = true;
    8283        this->size = 5;
    8384        this->context = context;
     
    148149
    149150
    150 
    151         this->spawnChildren();
     151        if(this->generateSmaller){
     152            this->spawnChildren();
     153        }
    152154
    153155
     
    186188        //Relativ zu Elternteil automatisch?
    187189        //Typ position:rand()*Vektoriwas?
     190        // pawn->getWorldPosition() + Vector3(30,0,-30);
    188191        child->setPosition(this->getCarrierPosition());
    189192    }
Note: See TracChangeset for help on using the changeset viewer.