DPB1Class · World, character and items

Projectile

Runtime projectile graph. The component contains the runtime references; trajectory data belongs to the owner's Positioned component.

Namespace: DreamPoeBot.Loki.Components

public class Projectile
Reference: DPB1 0.3.29.56Compare the DPB2 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

13 declared here

Search includes inherited members below. 2 matching inherited members →

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.

Return type: floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

point

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.

Return type: Vector2
Explore Vector2 → members & methods

Provides vector2 data and the operations listed below. Related types link to the values this API consumes or returns.

Parameters

distance
Parameter type: floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

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.

Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

center

Specifies center.

radius
Parameter type: floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

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()

Calls OnPointerChanged on Projectile without arguments. This overload has no return value.

Return type: voidNo return value.

EffectiveSpeed

PropertyLink ↗
public float Projectile.EffectiveSpeed { get; }

Reads effective speed on Projectile as float. The exact type and accessors are shown below.

Value type: floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

ObjectSize

PropertyLink ↗
public int Projectile.ObjectSize { get; }

Reads object size on Projectile as int. The exact type and accessors are shown below.

Value type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Snapshot

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

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

Value type: publicNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

SourceSkillAddress

PropertyLink ↗
public long Projectile.SourceSkillAddress { get; }

Reads source skill address on Projectile as long. The exact type and accessors are shown below.

Value type: longNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Inherited members and contracts

2 public members from documented base types and interfaces. Links open the original declaration; overrides are shown only once. Search using the member field above.

public NetworkObject Component.Owner { get; } Declared by Component

Entity that owns this component, resolved through the validated component layout.

public Entity Component.OwnerEntity { get; } Declared by Component

Lifetime-aware owner when the component was obtained through Entity.GetComponent. Falls back to the validated owner backlink for directly-created component wrappers.

DPB1 0.3.29.56 · Reference reviewed 2026-10-30. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.