Skip to content

HealthDynamicMaterialFloatDriver

Inheritance 2 ancestors · 48 siblings

Class Documentation

Edit documentation

A float driver that returns the health of the source as a fraction: current health divided by maximum health, from 0 to 1.

The source must be a unit. Without one, or when the maximum health is 0, the driver returns 0.