Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 9, 2015, 11:19:51 AM (8 years ago)
Author:
gania
Message:

not compilable change to move behaviour

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/AI_HS15/src/orxonox/controllers/CommonController.h

    r10780 r10782  
    129129            void copyTargetOrientation();
    130130
    131             bool isCloseAtTarget(float distance) const;
     131            float squaredDistanceToTarget() const;
    132132            void doFire();
    133133            void aimAtTarget();
     
    150150
    151151
    152             bool bHasObjectivePosition_;
    153             Vector3 objectivePosition_;
    154             bool bHasObjectiveOrientation_;
    155             Quaternion objectiveOrientation_;
     152            bool bHasPositionOfTarget_;
     153            Vector3 positionOfTarget_;
     154            bool bHasOrientationOfTarget_;
     155            Quaternion orientationOfTarget_;
     156
    156157
    157158            WeakPtr<ControllableEntity> target_;
     
    159160            WeakPtr<ControllableEntity> objectiveTarget_;
    160161
     162            float angleRolled_;
     163            float angleRoll_;
    161164
    162165
Note: See TracChangeset for help on using the changeset viewer.