Table of Contents

Class EntityExplosive

Namespace
VoxelPlayground.Entity
Assembly
GamePlay.dll
public class EntityExplosive : EntityPhysicBullet, IRecyclable
Inheritance
object
EntityExplosive
Implements
Derived
Inherited Members
Extension Methods

Fields

deflectable

public bool deflectable

Field Value

bool

deflectableForce

public float deflectableForce

Field Value

float

deflectableVelocityThreshold

public float deflectableVelocityThreshold

Field Value

float

explosive

public Explosive explosive

Field Value

Explosive

trailFXName

public string trailFXName

Field Value

string

useRaycastAssist

public bool useRaycastAssist

Field Value

bool

Methods

Explode(Collision, ChemicalPropety)

public void Explode(Collision collision, ChemicalPropety chemicalPropety = ChemicalPropety.none)

Parameters

collision Collision
chemicalPropety ChemicalPropety

OnHit(Collision)

protected override void OnHit(Collision collision)

Parameters

collision Collision

OnIgnite(Vector3, float)

public override void OnIgnite(Vector3 center, float radius)

Parameters

center Vector3
radius float

OnRecycle()

public override void OnRecycle()

OnSpawn(EntityItem, float, Vector3)

public override void OnSpawn(EntityItem owner, float _speed, Vector3 _direction)

Parameters

owner EntityItem
_speed float
_direction Vector3

SetOwnerCharacter(EntityCharacter)

public void SetOwnerCharacter(EntityCharacter character)

Parameters

character EntityCharacter