Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 9, 2009, 4:52:36 PM (16 years ago)
Author:
Naaduun
Message:

Added own scenemanager to map, added 2 pointer to contain mapentity and mapscenenod to radarviewable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/map/src/orxonox/objects/worldentities/ControllableEntity.cc

    r2662 r2913  
    6262        this->hud_ = 0;
    6363        this->camera_ = 0;
     64        this->reverseCamera_ = 0;
    6465        this->bDestroyWhenPlayerLeft_ = false;
    6566        this->cameraPositionRootNode_ = this->node_->createChildSceneNode();
     
    148149        else
    149150            this->attach(position);
    150         this->cameraPositions_.push_back(position);
     151
     152        if (!position->getRenderCamera())
     153            this->cameraPositions_.push_back(position);
     154        else
     155            this->setReverseCamera(position);
    151156    }
    152157
Note: See TracChangeset for help on using the changeset viewer.