Class ProjectileOptions
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
Properties
CancelOnTargetLost
Removes a single-target shot when its target disappears.
public bool CancelOnTargetLost { get; }
Property Value
PredictTarget
Predicts a fixed aim point from actual movement.
public bool PredictTarget { get; }
Property Value
RetargetRadius
Radius for homing reacquisition; zero disables it.
public float RetargetRadius { get; }