Emergency 20 Dokumentation  4.2.0
qsf::ai::steering::RouterCollisionAggregator Class Reference

#include <RouterCollisionAggregator.h>

Public Member Functions

 RouterCollisionAggregator (DynamicCollisionLocalPlanner &routerCollisionWorld, CollisionAggregator &aggregator, const MovableComponent &queryMovable, const NavigationComponent &queryNavi, const BulletCollisionComponent &originalCollision, UnsignedFloat queryRange, UnsignedFloat distanceToKeepBetween, bool isMovingForward)
 
void processCollisions () const
 

Static Public Attributes

static const Time sFixedLookaheadWhileStandingStill
 

Detailed Description

Provides functions to iterate over all relevant router collisions and integrate them into a CollisionAggregator. It linearly extrapolates movement for a pair of objects in their respective movement directions and calculates whether these collide.

Constructor & Destructor Documentation

qsf::ai::steering::RouterCollisionAggregator::RouterCollisionAggregator ( DynamicCollisionLocalPlanner routerCollisionWorld,
CollisionAggregator aggregator,
const MovableComponent queryMovable,
const NavigationComponent queryNavi,
const BulletCollisionComponent originalCollision,
UnsignedFloat  queryRange,
UnsignedFloat  distanceToKeepBetween,
bool  isMovingForward 
)

Member Function Documentation

void qsf::ai::steering::RouterCollisionAggregator::processCollisions ( ) const

Member Data Documentation

const Time qsf::ai::steering::RouterCollisionAggregator::sFixedLookaheadWhileStandingStill
static

The documentation for this class was generated from the following file: