| PathEngine home | previous: | next: |
Provides the same functionality as
iCollisionInfo* advanceAlong(const iShape* shape, float distance, const iCollisionContext* context, float& precisionX, float& precisionY); |
| shape | The shape to use for checking collision. This should normally be the same shape that was used to create this path. | ||
| distance |
The distance to advance along the path. | ||
| context |
The state of dynamic collision that will apply for this query. An empty context can be specified by passing a value of zero for this argument. | ||
| precisionX | Extra precision for the x component of the path start is returned in this parameter. | ||
| precisionY | Extra precision for the y component of the path start is returned in this parameter. |
If the shape is successfully advanced along the path then zero is returned.
Otherwise a newly created
Unless you have a specific reason for using this version of the advance along path functionality,
the versions provided by the
Refer to
| Documentation for PathEngine release 5.29 - Copyright © 2002-2012 PathEngine | next: |