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

#include <BulletCollisionAggregator.h>

Public Member Functions

 BulletCollisionAggregator (CollisionAggregator &aggregator, const MovableComponent &queryMovable, const NavigationComponent &queryNavi, const btCollisionObject &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 physical bullet 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. Currently only works for convex shapes and objects that have at least a transform component, obviously

Constructor & Destructor Documentation

qsf::ai::steering::BulletCollisionAggregator::BulletCollisionAggregator ( CollisionAggregator aggregator,
const MovableComponent queryMovable,
const NavigationComponent queryNavi,
const btCollisionObject &  originalCollision,
UnsignedFloat  queryRange,
UnsignedFloat  distanceToKeepBetween,
bool  isMovingForward 
)

Member Function Documentation

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

Member Data Documentation

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

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