PathEngine home previous: iCollisionContext::temporarilyIgnoreAgent()next: iCollisionContext::updatePathfindingPreprocessFor()
Contents, API Reference, Interfaces, iCollisionContext, updateCollisionPreprocessFor



Enabled the application to force generation of cached data associated with the collision context dynamic state.


void updateCollisionPreprocessFor(const iShape* shape) const;


shape The shape for which collision preprocess should be generated.


This method was used, previously, for splitting the time for updating cached data associated with dynamic state out from the time for actual queries, in performance measurements.

But collision queries can actually early out in many situations and avoid the need to update this cached data, and in some circumstances forcing the generation of this cached data was then a significant performance hit.

So calling this method now has no affect, and the method is depreciated.

C# Mapping

void updateCollisionPreprocessFor(Shape shape);

Java Mapping

void updateCollisionPreprocessFor(Shape shape);

Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEnginenext: iCollisionContext::updatePathfindingPreprocessFor()