C# Class ProjectStorms.PinwheelBlade

Pinwheel blade trigger. Triggers a physical response if any rigidbody enters its collider (after a brief interval)
Inheritance: UnityEngine.MonoBehaviour
Show file Open project: patferguson/Storms-Project

Public Properties

Property Type Description
inSuckForce float
pinwheelForce float
secondsBeforeTimeout float
superVacuumRadius float
superVacuumStrength float
upSuckForce float

Public Methods

Method Description
Awake ( ) : void
DelayOver ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void
OnTriggerEnter ( Collider a_other ) : void
OnTriggerStay ( Collider a_other ) : void
Update ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

DelayOver() public method

public DelayOver ( ) : void
return void

OnDisable() public method

public OnDisable ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

OnTriggerEnter() public method

public OnTriggerEnter ( Collider a_other ) : void
a_other UnityEngine.Collider
return void

OnTriggerStay() public method

public OnTriggerStay ( Collider a_other ) : void
a_other UnityEngine.Collider
return void

Update() public method

public Update ( ) : void
return void

Property Details

inSuckForce public property

public float inSuckForce
return float

pinwheelForce public property

public float pinwheelForce
return float

secondsBeforeTimeout public property

public float secondsBeforeTimeout
return float

superVacuumRadius public property

Radius to force the passengers to match vacuum.
public float superVacuumRadius
return float

superVacuumStrength public property

Percentage of the player's velocity to match each second when in the super vacuum radius.
public float superVacuumStrength
return float

upSuckForce public property

public float upSuckForce
return float