Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 13, 2009, 11:21:40 AM (14 years ago)
Author:
rgrieder
Message:

Resolved projectile targeting problem by introducing a ClassTreeMask. It's a bit hacky but currently I don't see another quick way.
There is a problem though: The weapons aim into other directions while rolling the space ship…
I just couldn't figure it out.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/steering/src/orxonox/controllers/Controller.h

    r6045 r6055  
    5858            virtual void changedControllableEntity() {}
    5959
    60             virtual Vector3 getTarget();
     60            virtual bool canFindTarget()
     61                { return false; }
     62            virtual Vector3 getTarget()
     63                { return Vector3::ZERO; }
    6164
    6265        protected:
Note: See TracChangeset for help on using the changeset viewer.