Class wwTargetShatterable
- Namespace
- FistVR
- Assembly
- Assembly-CSharp.dll
public class wwTargetShatterable : wwTarget, IFVRDamageable
- Inheritance
-
wwTargetShatterable
- Implements
-
- Inherited Members
-
Constructors
wwTargetShatterable()
public wwTargetShatterable()
Fields
DistTrigger
Field Value
- float
DoSpawnsAlignWithStrikerDir
public bool DoSpawnsAlignWithStrikerDir
Field Value
- bool
DoSpawnsRotateRandom
public bool DoSpawnsRotateRandom
Field Value
- bool
IgnoresCollisionDamage
public bool IgnoresCollisionDamage
Field Value
- bool
IsTNT
Field Value
- bool
ObjectWrapper
public FVRObject ObjectWrapper
Field Value
- FVRObject
PointsLife
Field Value
- float
RB
Field Value
- Rigidbody
Shards
public Rigidbody[] Shards
Field Value
- Rigidbody[]
Spawns
public GameObject[] Spawns
Field Value
- GameObject[]
UsesPoints
Field Value
- bool
compareTo
Field Value
- Vector3
explosionMultiplier
public float explosionMultiplier
Field Value
- float
Methods
OnCollisionEnter(Collision)
public void OnCollisionEnter(Collision col)
Parameters
col
Collision
TargetStruck(Damage, bool)
public override void TargetStruck(Damage dam, bool sendStruckEvent)
Parameters
dam
Damage
sendStruckEvent
bool