height
Overview
Checks, if one object is higher or lower than another object.
Inputs
- Check
Will fire an event out of one of the outputs when triggered.
Outputs
- higher
Fires an event, if the object is higher than the origin.
- even
Fires an event, if the object is on the same level as the origin.
- lower
Fires an event, if the object is lower than the origin.
- failed
Fires an event, if the block failed the check (for example, if one of the objects is missing).
Refs
- target
The object to measure the height of (relative to origin).
- origin
The object relative to which the height of the target is measured.
Properties
- Threshold
Threshold at which the difference in height between two objects is considered even. For example, if the threshold is set to 2 when the target is closer than 2 meters from the origin, the checker will fire the "even" event.
- Origin shift
Shift the origin's height by this amount (in meters). Useful when, for example, the origin's mesh has its pivot at the bottom. But you need to measure the height from the top or the middle.
Usage examples
Â
In this example, the "height" checker activates fire particles on the barrel model when the player is higher it, and when he is lower it, on the contrary, deactivates it.
See also
Exodus SDK © 2005-2023, 4A Games Limited. Developed by 4A Games®.
4A Games® is a registered trademark, and 4A Games Limited, Exodus SDK and their respective logos are trademarks of 4A Games Limited.
Published by Deep Silver. Deep Silver is a division of PLAION GmbH, Austria. Deep Silver and Plaion are registered trademarks of PLAION GmbH.
Metro Exodus is inspired by the internationally best-selling novels METRO 2033 and METRO 2034 by Dmitry Glukhovsky.
All other trademarks, logos and copyrights are property of their respective owners. All rights reserved.
By using this site, downloading or using the Exodus SDK or related content, you are agreeing to be bound by the terms of the End User License Agreement.