Table of Contents

Class BallisticProjectile

Namespace
FistVR
Assembly
Assembly-CSharp.dll
public class BallisticProjectile : MonoBehaviour
Inheritance
BallisticProjectile

Constructors

BallisticProjectile()

public BallisticProjectile()

Fields

AirDragMultiplier

public float AirDragMultiplier

Field Value

float

BlastJumpAmount

public float BlastJumpAmount

Field Value

float

BulletHoleDecalOverride

public BulletHoleDecalType BulletHoleDecalOverride

Field Value

BulletHoleDecalType

BulletRenderer

public Renderer BulletRenderer

Field Value

Renderer

DeletesOnStraightDown

public bool DeletesOnStraightDown

Field Value

bool

Dimensions

public Vector3 Dimensions

Field Value

Vector3

DoesBlastJumpOnFire

public bool DoesBlastJumpOnFire

Field Value

bool

DoesIgniteOnHit

public bool DoesIgniteOnHit

Field Value

bool

ExtraDisplay

public GameObject ExtraDisplay

Field Value

GameObject

FlightVelocityMultiplier

public float FlightVelocityMultiplier

Field Value

float

FrontArea

public float FrontArea

Field Value

float

GeneratesImpactDecals

public bool GeneratesImpactDecals

Field Value

bool

GeneratesImpactSound

public bool GeneratesImpactSound

Field Value

bool

GeneratesSuppressionEvent

public bool GeneratesSuppressionEvent

Field Value

bool

GravityMultiplier

public float GravityMultiplier

Field Value

float

IFFSwapMats

public List<Material> IFFSwapMats

Field Value

List<Material>

IgnitionChance

public float IgnitionChance

Field Value

float

ImpactEffectTypeOverride

public BallisticImpactEffectType ImpactEffectTypeOverride

Field Value

BallisticImpactEffectType

ImpactFXMagnitude

public ImpactEffectMagnitude ImpactFXMagnitude

Field Value

ImpactEffectMagnitude

ImpactSoundType

public ImpactType ImpactSoundType

Field Value

ImpactType

IsDisabledOnFirstImpact

public bool IsDisabledOnFirstImpact

Field Value

bool

KEPerSquareMeterBase

public float KEPerSquareMeterBase

Field Value

float

KETotalForHit

public float KETotalForHit

Field Value

float

Mass

public float Mass

Field Value

float

MaxRange

public float MaxRange

Field Value

float

MaxRangeRandom

public float MaxRangeRandom

Field Value

float

MuzzleVelocityBase

public float MuzzleVelocityBase

Field Value

float

PassesFirearmReferenceToSubmunitions

public bool PassesFirearmReferenceToSubmunitions

Field Value

bool

ProjType

public BallisticProjectileType ProjType

Field Value

BallisticProjectileType

Source_IFF

public int Source_IFF

Field Value

int

Submunitions

public List<BallisticProjectile.Submunition> Submunitions

Field Value

List<BallisticProjectile.Submunition>

SuppressionIntensity

public float SuppressionIntensity

Field Value

float

SuppressionRange

public float SuppressionRange

Field Value

float

TracerLengthMultiplier

public float TracerLengthMultiplier

Field Value

float

TracerRenderer

public Renderer TracerRenderer

Field Value

Renderer

TracerWidthMultiplier

public float TracerWidthMultiplier

Field Value

float

Trail

public VRTrail Trail

Field Value

VRTrail

TrailStartColor

public Color TrailStartColor

Field Value

Color

UsesIFFMatSwap

public bool UsesIFFMatSwap

Field Value

bool

UsesTrails

public bool UsesTrails

Field Value

bool

m_dieTimerMax

public float m_dieTimerMax

Field Value

float

tracer

public Transform tracer

Field Value

Transform

Methods

AreaCalc()

public void AreaCalc()

Fire(float, Vector3, FVRFireArm, bool)

public void Fire(float muzzleVelocity, Vector3 forwardDir, FVRFireArm firearm, bool setIFF = true)

Parameters

muzzleVelocity float
forwardDir Vector3
firearm FVRFireArm
setIFF bool

Fire(Vector3, FVRFireArm)

public void Fire(Vector3 forwardDir, FVRFireArm firearm)

Parameters

forwardDir Vector3
firearm FVRFireArm

ForceSetMaxDist(float)

public void ForceSetMaxDist(float f)

Parameters

f float

GetClosestValidPoint(Vector3, Vector3, Vector3)

public Vector3 GetClosestValidPoint(Vector3 vA, Vector3 vB, Vector3 vPoint)

Parameters

vA Vector3
vB Vector3
vPoint Vector3

Returns

Vector3

SetSource_IFF(int)

public void SetSource_IFF(int i)

Parameters

i int