public Projectile.Projectile()
Creates a new Projectile instance.
Provides projectile data and the operations listed below. Related types link to the values this API consumes or returns.
Namespace: DreamPoeBot.Loki.Components
public class ProjectileView DPB2 version →Members declared by a base type are documented on that type. Follow these links to include them in your lookup.
public Projectile.Projectile()
Creates a new Projectile instance.
public float Projectile.DistanceFromHull(Vector2 point)
Euclidean distance from a point to the outside of the projectile's circular narrow-phase hull. Zero means inside or touching.
pointVector2Returns: The float result.
public Vector2 Projectile.GetPointAlongTrajectory(float distance)
Returns a point at a signed spatial distance along the projectile axis. It intentionally does not assume a time unit for EffectiveSpeed.
distancefloatReturns: The Vector2 result.
public bool Projectile.IntersectsCircle(Vector2 center, float radius = 0)
Client-equivalent radial overlap test with an optional second radius.
centerVector2radiusfloatReturns: A Boolean result. The member description explains the condition being checked.
protected override void Projectile.OnPointerChanged()
Executes the on pointer changed operation.
public NetworkObject Projectile.Caster { get; }
Entity that launched the projectile. Capture this near projectile birth: the client can clear or recycle the backlink during despawn.
public Vector2 Projectile.Center { get; }
Gets center for Projectile.
public Vector2 Projectile.Direction { get; }
Gets direction for Projectile.
public float Projectile.EffectiveSpeed { get; }
Gets effective speed for Projectile.
public int Projectile.ObjectSize { get; }
Gets object size for Projectile.
public Projectile.ProjectileSnapshot Projectile.Snapshot { get; }
Coherent per-frame view of origin, skill, trajectory and circular hull.
public Skill Projectile.SourceSkill { get; }
Source skill resolved against the caster's Actor component.
public long Projectile.SourceSkillAddress { get; }
Gets source skill address for Projectile.
DPB1 0.3.29.47 · 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.