ZatPointDist
Usage
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).
Parameters
- v - The absolute xy map coordinate to check.
- dist - The distance to use from the world origin.
Return Value
Returns the z height of the plane at the given point and distance.
Examples
![]() |
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 add them. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated. |
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.