Table of Contents

Class UberShatterable

Namespace
FistVR
Assembly
Assembly-CSharp.dll
public class UberShatterable : MonoBehaviour, IFVRDamageable
Inheritance
UberShatterable
Implements

Constructors

UberShatterable()

public UberShatterable()

Fields

ApplyDirectionalForce

public bool ApplyDirectionalForce

Field Value

bool

ApplyForce

public bool ApplyForce

Field Value

bool

AudEvent_Shatter

public AudioEvent AudEvent_Shatter

Field Value

AudioEvent

C

public Collider C

Field Value

Collider

Core

public GameObject Core

Field Value

GameObject

DamConfig

public UberShatterableDamageConfig DamConfig

Field Value

UberShatterableDamageConfig

DamageMults_PMEC

public Vector4 DamageMults_PMEC

Field Value

Vector4

DamagePreMultCutoffs_PMEC

public Vector4 DamagePreMultCutoffs_PMEC

Field Value

Vector4

DecalPassThrough

public List<UberShatterable> DecalPassThrough

Field Value

List<UberShatterable>

DecalRoot

public Transform DecalRoot

Field Value

Transform

Decals

public UberShatterable.MeshDecals Decals

Field Value

UberShatterable.MeshDecals

DoesColliderDisableOnBreak

public bool DoesColliderDisableOnBreak

Field Value

bool

EnableOnDie

public GameObject EnableOnDie

Field Value

GameObject

Integrity

public float Integrity

Field Value

float

JointedToEditor

public List<UberShatterable> JointedToEditor

Field Value

List<UberShatterable>

Joints

public List<Joint> Joints

Field Value

List<Joint>

MeleeDamageMults_BPC

public Vector3 MeleeDamageMults_BPC

Field Value

Vector3

MeleeDamagePassThroughRange

public Vector2 MeleeDamagePassThroughRange

Field Value

Vector2

O

public FVRPhysicalObject O

Field Value

FVRPhysicalObject

RB

public Rigidbody RB

Field Value

Rigidbody

ReparentMeOnDestroy

public List<UberShatterable.ReparentOnDestroy> ReparentMeOnDestroy

Field Value

List<UberShatterable.ReparentOnDestroy>

Shards

public List<Rigidbody> Shards

Field Value

List<Rigidbody>

Shatterables

public List<UberShatterable> Shatterables

Field Value

List<UberShatterable>

SpawnOnShatter

public List<GameObject> SpawnOnShatter

Field Value

List<GameObject>

SpawnOnShatterPoints

public List<Transform> SpawnOnShatterPoints

Field Value

List<Transform>

UsesDisplayHandles

public bool UsesDisplayHandles

Field Value

bool

UsesMeshDecals

public bool UsesMeshDecals

Field Value

bool

Methods

AddSelfShatterPoint()

public void AddSelfShatterPoint()

Damage(Damage)

public void Damage(Damage d)

Parameters

d Damage

HasShattered()

public bool HasShattered()

Returns

bool

JointStuff()

public void JointStuff()

OnCollisionEnter(Collision)

public void OnCollisionEnter(Collision collision)

Parameters

collision Collision

SetCol()

public void SetCol()

SetJointMaxForce()

public void SetJointMaxForce()

SetRB()

public void SetRB()

SetSelfCore()

public void SetSelfCore()

Shatter(Vector3, Vector3, float)

public void Shatter(Vector3 point, Vector3 dir, float intensity)

Parameters

point Vector3
dir Vector3
intensity float