BallisticConfigclass

Ballistics for a volley of bullets - damage, pellets, spread and reach.

objectBallisticConfig
Namespace
global
Assembly
Sandbox.Engine
Declaration
public sealed struct Sandbox.BaseCombatWeapon.BallisticConfig

Constructors1

Showing 1 constructors

public BallisticConfig()PUBLICCONSTRUCTOR

Ballistics for a volley of bullets - damage, pellets, spread and reach.

Properties8

Showing 8 properties

public int Sandbox.BaseCombatWeapon.BallisticConfig.Pellets { get; set; }PUBLICGETSET

Pellets per shot - 1 for a bullet, more for a shotgun blast.

Returns:int

public float Sandbox.BaseCombatWeapon.BallisticConfig.Radius { get; set; }PUBLICGETSET

Pellet radius - 0 for a thin ray, higher to be forgiving.

Returns:float

public float Sandbox.BaseCombatWeapon.BallisticConfig.SpreadRecovery { get; set; }PUBLICGETSET

Seconds after a shot for the spread to settle back to base.

Returns:float

On this page