Class ProjectileOptions

Namespace
TDMaker.Core.Defs
Assembly
TDMaker.Core.dll

Prediction and target loss behavior for flight entities.

public sealed class ProjectileOptions
Inheritance
ProjectileOptions
Inherited Members

Constructors

ProjectileOptions(bool, float, bool)

Creates flight extensions.

public ProjectileOptions(bool predictTarget = true, float retargetRadius = 0, bool cancelOnTargetLost = true)

Parameters

predictTarget bool
retargetRadius float
cancelOnTargetLost bool

Properties

CancelOnTargetLost

Removes a single-target shot when its target disappears.

public bool CancelOnTargetLost { get; }

Property Value

bool

PredictTarget

Predicts a fixed aim point from actual movement.

public bool PredictTarget { get; }

Property Value

bool

RetargetRadius

Radius for homing reacquisition; zero disables it.

public float RetargetRadius { get; }

Property Value

float