Enum PluginProjectilePathStatus
- Namespace
- AcDream.Plugin.Abstractions
- Assembly
- AcDream.Plugin.Abstractions.dll
Why a projectile-path query did or did not admit the shot.
public enum PluginProjectilePathStatus
Fields
Blocked = 2Something stood in the way. The blocking object's id is reported when the obstruction was an object rather than the landscape.
BudgetExceeded = 4The flight was still going when the caller's collision-check budget ran out, so the shot is neither proven clear nor proven blocked.
Clear = 1Nothing stopped the shot before it reached the target.
Error = 5The query failed part way: the trajectory stopped being a usable number, or the collision probe threw. The notice carries the reason.
InvalidTarget = 3The query itself was unusable: a zero target id, a radius or step distance that is not a positive finite number, a check budget that is not positive, a target the client does not know, or a target standing at the shooter's own spot.
The host cannot answer path queries: no session is in the world, or this host has no collision probe.