Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 13, 2017, 4:16:35 PM (6 years ago)
Author:
jostoffe
Message:

Pfeil wird angezeigt und fliegt mit dem Raumschiff mit, aber er ist noch nicht an der richtigen Position. Dazu muss ich noch die richtige Formel finden anhand der momentanen Ausrichtung des Raumschiffes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Waypoints_HS17/src/orxonox/worldentities/Arrow.cc

    r11539 r11559  
    4949        RegisterObject(Arrow);
    5050
    51         this->myController_ = NULL;
     51        //this->myController_ = NULL;
    5252
    5353        this->localLinearAcceleration_.setValue(0, 0, 0);
     
    6969    {
    7070        // Deletes the controller if the object was initialized and the pointer to the controller is not NULL.
    71         if( this->isInitialized() && this->myController_ != NULL )
    72             delete this->myController_;
     71       // if( this->isInitialized() && this->myController_ != NULL )
     72            //delete this->myController_;
    7373    }
    7474
     
    184184    }
    185185
     186
    186187}
Note: See TracChangeset for help on using the changeset viewer.