public Vector2 ProjectileSnapshot.GetPointAlongTrajectory(float distance)
Point at a signed world-space distance; NaN when unavailable.
distancefloat- Specifies distance.
Returns: The Vector2 result.
Captured observation in world units, not grid units or a collision prediction.
Namespace: DreamPoeBot.Loki.Components
public class ProjectileSnapshotpublic Vector2 ProjectileSnapshot.GetPointAlongTrajectory(float distance)
Point at a signed world-space distance; NaN when unavailable.
distancefloatReturns: The Vector2 result.
public long ProjectileSnapshot.CasterAddress { get; }
Gets caster address for ProjectileSnapshot.
public int ProjectileSnapshot.CasterId { get; }
Gets caster id for ProjectileSnapshot.
public Vector2 ProjectileSnapshot.Center { get; }
Gets center for ProjectileSnapshot.
public Vector2 ProjectileSnapshot.Direction { get; }
Unit XY direction: (sin(rotation), -cos(rotation)).
public bool ProjectileSnapshot.HasCaster { get; }
Whether caster is present.
public bool ProjectileSnapshot.HasTrajectory { get; }
Whether trajectory is present.
public bool ProjectileSnapshot.IsAvailable { get; }
Whether this projectile snapshot is available.
DPB2 0.4.5.88 · Reference reviewed 2026-10-02. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.