- Timestamp:
- Dec 5, 2016, 3:59:38 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/QuestGuide_HS16/src/modules/waypoints/Waypointarrow.cc
r11309 r11318 61 61 62 62 if (getWaypointgroup() == nullptr){ 63 63 //orxout() << "Second" << endl; 64 64 65 65 return; … … 67 67 68 68 waypoints_ = getWaypointgroup(); 69 70 69 waypoint = waypoints_->getActive(); 71 72 70 Vector3 waypoint_position = waypoint->getWorldPosition(); 73 71 74 72 75 73 //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; 80 78 81 79 … … 88 86 void Waypointarrow::XMLPort(Element& xmlelement, XMLPort::Mode mode){ 89 87 SUPER(Waypointarrow, XMLPort, xmlelement, mode); // From the SpaceShip.cc file 90 91 88 //XMLPortParamTemplate(WorldEntity, "orientation", setOrientation, getOrientation, xmlelement, mode, Vector3) 92 93 89 //XMLPortObject(SpaceShip, Engine, "engines", addEngine, getEngine, xmlelement, mode); // TRY ADDING THE WAYPOINT ARROW LIKE AN ENGINE 94 90
Note: See TracChangeset
for help on using the changeset viewer.