Health Modifier Volumes

A Health Modifier Volume defines a spherical space in which a damageable object will take damage or receive healing. This could be for example a corrosive cloud that the player vehicle must pass through or avoid.

  1. Create a new game object and call it whatever you wish.

  2. Add a Health Modifier Volume component.

  3. Add as many elements as required to the Health Type Change Rates list. For damage, the change rate must be negative, and for healing, make it positive.

Note that the sphere collider's radius must be at least as large as the Max Effect Distance defined in the inspector of the Health Modifier Volume component for it to work correctly.

Last updated