![]() |
VR-Forces 4.0.4 Class Documentation
|
Go to the source code of this file.
Classes | |
| class | DtHumanMovementActuator |
| DtHumanMovementActuator is a simple movement actuator for lifeforms. More... | |
Functions | |
| bool | closestIntersectionWithBias (const DtVector &localPosition, DtChordIntersectionRecord &record, DtIntersectionRecord::DtIntersectionType irtFlag, double bias, const DtAttachedTerrain *terrain) |
| Like closestIntersection, except that intersections in the bias zone are preferred, even if they are not the closest. | |
| bool closestIntersectionWithBias | ( | const DtVector & | localPosition, |
| DtChordIntersectionRecord & | record, | ||
| DtIntersectionRecord::DtIntersectionType | irtFlag, | ||
| double | bias, | ||
| const DtAttachedTerrain * | terrain | ||
| ) |
Like closestIntersection, except that intersections in the bias zone are preferred, even if they are not the closest.
Negative bias indicates that an intersection from the bias distance above the localPosition is done first, and the first of any intersection there is returned. If none is found, a normal closestIntersection() call is made and that result returned.