|Note: This feature is for ZScript only.|
native double ZatPointDist(Vector2 v, double dist) const
Works similar to ZatPoint but a distance from the world origin can be manually specified. Normally the SecPlane's D value is used. Useful if a new z value needs to be calculated before performing an action (e.g. making sure the new z value does not clip into the ceiling/floor).
- v - The absolute xy map coordinate to check.
- dist - The distance to use from the world origin.
Returns the z height of the plane at the given point and distance.
|Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated.|