ScriptEvent:isInWater

From Mod Wiki
Revision as of 16:22, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Parameters

None.

Result

float

Supported By

idEntity

Comments

  • Not all physics types support this, if they do not, they will always return 0.

Functionality

Returns the fraction of the entity which is under water.