InterestPointVector3Driver
Inheritance 2 ancestors · 7 siblings
Class Documentation
Edit documentationA vector3 driver that returns the point of interest of the source unit, as a position in world units. It is the point of interest that LookAtInterestAngleParametricUpdater turns toward.
The point is the first of these that exists:
- The position of the unit that the game set as this unit's look-at target.
- The position that the game set as this unit's look-at position.
- The position of the nearest enemy unit.
The source must be a unit. Without a point of interest the driver returns (0, 0, 0).