Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 5, 2016, 3:59:38 PM (8 years ago)
Author:
ooguz
Message:

Distance Trigger Added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/QuestGuide_HS16/src/modules/waypoints/Waypointarrow.cc

    r11309 r11318  
    6161
    6262        if (getWaypointgroup() == nullptr){
    63                   orxout() << "Second" << endl;
     63                //orxout() << "Second" << endl;
    6464
    6565            return;
     
    6767
    6868        waypoints_ = getWaypointgroup();
    69 
    7069        waypoint = waypoints_->getActive();
    71 
    7270        Vector3 waypoint_position = waypoint->getWorldPosition();
    7371
    7472
    7573        //orxout() << "dsfsf" << waypoint_position.x << endl;
    76     //    orxout() << "waypoint " << waypoint_position.x <<  "waypoint " << waypoint_position.y << "waypoint " << waypoint_position.z << endl;
    77       //  orxout() << "model " << this->model->getWorldPosition().x <<  "model " << this->model->getWorldPosition().y << "model " << this->model->getWorldPosition().z << endl;
    78       //  orxout() << "this " << this->getWorldPosition().x <<  "this " << this->getWorldPosition().y << "this " << this->getWorldPosition().z << endl;
    79        // orxout() << "trial " << trial.x <<  "trial " << trial.y << "trial " << trial.z << endl;
     74        //orxout() << "waypoint " << waypoint_position.x <<  "waypoint " << waypoint_position.y << "waypoint " << waypoint_position.z << endl;
     75        //orxout() << "model " << this->model->getWorldPosition().x <<  "model " << this->model->getWorldPosition().y << "model " << this->model->getWorldPosition().z << endl;
     76        //orxout() << "this " << this->getWorldPosition().x <<  "this " << this->getWorldPosition().y << "this " << this->getWorldPosition().z << endl;
     77        //orxout() << "trial " << trial.x <<  "trial " << trial.y << "trial " << trial.z << endl;
    8078
    8179
     
    8886    void Waypointarrow::XMLPort(Element& xmlelement, XMLPort::Mode mode){
    8987        SUPER(Waypointarrow, XMLPort, xmlelement, mode); // From the SpaceShip.cc file
    90 
    9188        //XMLPortParamTemplate(WorldEntity, "orientation", setOrientation, getOrientation, xmlelement, mode, Vector3)
    92 
    9389        //XMLPortObject(SpaceShip, Engine, "engines", addEngine, getEngine, xmlelement, mode); // TRY ADDING THE WAYPOINT ARROW LIKE AN ENGINE
    9490
Note: See TracChangeset for help on using the changeset viewer.