Highroad Engine v1.3
Public Member Functions | Public Attributes | List of all members
MoreMountains.HighroadEngine.DeathGround Class Reference

Respawn vehicles when they hit the collider this class is attached to. Works only with SolidController. More...

Inheritance diagram for MoreMountains.HighroadEngine.DeathGround:

Public Member Functions

virtual void OnTriggerEnter (Collider other)
 When collision is triggered by a vehicle, a respawn occurs More...
 
virtual void OnDrawGizmos ()
 Draw death ground in scene view More...
 

Public Attributes

ParticleSystem Explosion
 
float GizmoTransparency = 0.5f
 transparency of the gizmo drawing death ground More...
 

Detailed Description

Respawn vehicles when they hit the collider this class is attached to. Works only with SolidController.

Member Function Documentation

◆ OnDrawGizmos()

virtual void MoreMountains.HighroadEngine.DeathGround.OnDrawGizmos ( )
virtual

Draw death ground in scene view

◆ OnTriggerEnter()

virtual void MoreMountains.HighroadEngine.DeathGround.OnTriggerEnter ( Collider  other)
virtual

When collision is triggered by a vehicle, a respawn occurs

Parameters
othertarget object

Member Data Documentation

◆ Explosion

ParticleSystem MoreMountains.HighroadEngine.DeathGround.Explosion

◆ GizmoTransparency

float MoreMountains.HighroadEngine.DeathGround.GizmoTransparency = 0.5f

transparency of the gizmo drawing death ground


The documentation for this class was generated from the following file: