Hello,
I've done some tests with the command "Static Raycast" to receive the height of a object. Unfortunately the command Returns "0" everytime I execute it.
According to the help:
Quote: "If there is no intersection, this value is zero. If there was an intersection, this value is the distance to the closest intersection point. This is an extremely useful command, and returns a lot of information, which is stored in the DarkBASIC Professional checklist. It allows for many actions, such as easy placement of decals, and vectors for bouncing objects off walls. You will note that a new command, checklist fvalue() has been introduced to return floats. The data returned is as follows:
Check "
It should return the distance between Point A and Point B. Also I couldn't find a checklist "checklist fvalue a()" after execug the command neither something like a "perform checklist fvalue" which could make the additional(?) results available.
Anyone got this running?
I have a large object (converted to static object) in my word (ground object) and need to receive the height on a specific position to place other objects.
Thanks for any hints.