428
430
virtual bool getLOS(const MWWorld::ConstPtr& actor,const MWWorld::ConstPtr& targetActor) = 0;
429
431
///< get Line of Sight (morrowind stupid implementation)
431
virtual float getDistToNearestRayHit(const osg::Vec3f& from, const osg::Vec3f& dir, float maxDist) = 0;
433
virtual float getDistToNearestRayHit(const osg::Vec3f& from, const osg::Vec3f& dir, float maxDist, bool includeWater = false) = 0;
433
435
virtual void enableActorCollision(const MWWorld::Ptr& actor, bool enable) = 0;