DPB1Class · World, character and items

Projectile

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 →

Inherited APIs and contracts

Members declared by a base type are documented on that type. Follow these links to include them in your lookup.

Members and overloads

13 results

Projectile

MethodLink ↗
public Projectile.Projectile()

Creates a new Projectile instance.

DistanceFromHull

MethodLink ↗
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.

pointVector2
Specifies point.

Returns: The float result.

GetPointAlongTrajectory

MethodLink ↗
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.

distancefloat
Specifies distance.

Returns: The Vector2 result.

IntersectsCircle

MethodLink ↗
public bool Projectile.IntersectsCircle(Vector2 center, float radius = 0)

Client-equivalent radial overlap test with an optional second radius.

centerVector2
Specifies center.
radiusfloat
Specifies radius. Optional; the default is shown in the signature.

Returns: A Boolean result. The member description explains the condition being checked.

OnPointerChanged

MethodLink ↗
protected override void Projectile.OnPointerChanged()

Executes the on pointer changed operation.

Caster

PropertyLink ↗
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.

Center

PropertyLink ↗
public Vector2 Projectile.Center { get; }

Gets center for Projectile.

Direction

PropertyLink ↗
public Vector2 Projectile.Direction { get; }

Gets direction for Projectile.

EffectiveSpeed

PropertyLink ↗
public float Projectile.EffectiveSpeed { get; }

Gets effective speed for Projectile.

ObjectSize

PropertyLink ↗
public int Projectile.ObjectSize { get; }

Gets object size for Projectile.

Snapshot

PropertyLink ↗
public Projectile.ProjectileSnapshot Projectile.Snapshot { get; }

Coherent per-frame view of origin, skill, trajectory and circular hull.

SourceSkill

PropertyLink ↗
public Skill Projectile.SourceSkill { get; }

Source skill resolved against the caster's Actor component.

SourceSkillAddress

PropertyLink ↗
public long Projectile.SourceSkillAddress { get; }

Gets source skill address for Projectile.

Related types

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.