Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 26, 2016, 3:54:24 PM (8 years ago)
Author:
plehmann
Message:

implemented the update function of MoveToTask. but it does not yet work right. it might be more a problem of the controllerDirector than the task.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/plehmannFS16/src/orxonox/controllers/scriptTasks/MoveToTask.h

    r11190 r11204  
    4343            virtual ~MoveToTask(){}
    4444
    45             void initialize(float startTime, PlayerInfo* player, vector3 destination);
     45            void initialize(float startTime, PlayerInfo* player, Vector3 destination, float velocity);
    4646
    4747            virtual bool update(float dt) override;
     
    6060            ControllableEntity* entity_;
    6161
    62             vector3 destination_;
     62            Vector3 direction_;
    6363
     64            Vector3 destination_;
     65
     66            // velocitz in m/s
    6467            float velocity_;
    6568
Note: See TracChangeset for help on using the changeset viewer.