Class ShatterablePhysicalObject
- Namespace
- FistVR
- Assembly
- Assembly-CSharp.dll
public class ShatterablePhysicalObject : FVRPhysicalObject, IFVRDamageable
- Inheritance
-
ShatterablePhysicalObject
- Implements
- Inherited Members
Constructors
ShatterablePhysicalObject()
public ShatterablePhysicalObject()
Fields
CollisionShatterThreshold
public float CollisionShatterThreshold
Field Value
DamageReceivedMultiplier
public float DamageReceivedMultiplier
Field Value
Pmaterial
public PMat Pmaterial
Field Value
SecondarySpawns
public GameObject[] SecondarySpawns
Field Value
- GameObject[]
SubObjects
public Rigidbody[] SubObjects
Field Value
- Rigidbody[]
TransfersVelocityExplosively
public bool TransfersVelocityExplosively
Field Value
currentToughness
public float currentToughness
Field Value
Methods
Awake()
protected override void Awake()
Damage(Damage)
public void Damage(Damage dam)
Parameters
dam
Damage
FVRUpdate()
protected override void FVRUpdate()
OnCollisionEnter(Collision)
public override void OnCollisionEnter(Collision col)
Parameters
col
Collision