CharacterPursueParam
Constants in the CharacterPursueParam enum.
PURSUIT_FUZZ_FACTOR // Option for llPursue that selects a random destination near the PURSUIT_OFFSET (range is 0 to 1, where 1 is most random).PURSUIT_GOAL_TOLERANCE // Option for llPursue defining how close (between 0.25m and 10m) the character must be to consider the goal reached.PURSUIT_INTERCEPT // Option for llPursue specifying whether the pathfinding character attempts to predict and intercept the target's future location.PURSUIT_OFFSET // Option for llPursue specifying a constant position offset relative to the target for the character to navigate toward.REQUIRE_LINE_OF_SIGHT // Option flag for llPursue defining whether the character requires a physical line-of-sight to chase the target.
Constants
| Constant | Type | Value | Description |
|---|---|---|---|
PURSUIT_FUZZ_FACTOR | integer | 3 | Option for llPursue that selects a random destination near the PURSUIT_OFFSET (range is 0 to 1, where 1 is most random). Requires a non-zero PURSUIT_OFFSET. |
PURSUIT_GOAL_TOLERANCE | integer | 5 | Option for llPursue defining how close (between 0.25m and 10m) the character must be to consider the goal reached. |
PURSUIT_INTERCEPT | integer | 4 | Option for llPursue specifying whether the pathfinding character attempts to predict and intercept the target's future location. |
PURSUIT_OFFSET | integer | 1 | Option for llPursue specifying a constant position offset relative to the target for the character to navigate toward. |
REQUIRE_LINE_OF_SIGHT | integer | 2 | Option flag for llPursue defining whether the character requires a physical line-of-sight to chase the target. When active, it will not target positions blocked by solid obstacles. |
Used by
llPursuefunctionDirects a pathfinding character to pursue and chase target, configured by the parameters specified in options.