Ok folks, you've probably already seen this question or similar in the Dark Basic Professional forum subject but I'm asking it here as this appears to be the more appropriate place.
I have created a small, simple BSP map with textures in Hammer v3.4. I'm using Dark Basic Professional (full version) running
Patch v4. I can load, display, move around this BSP map and also activate camera and object collision using the BSP World commands.
Ok, with me so far? when I move a simple object such as a sphere with BSP collision index (1) enabled on the sphere, positioning using SET OBJECT POSITION, DBPro automatically repositions the sphere as expected when it collides with BSP Geometry.
This is all well and good, but my problem is, and I'm taring my hair out because I can no longer progress any further development, why do I not get any valid data from these four functions:-
BSP COLLISION HIT(1)
BSP COLLISION X(1), Y(1), Z(1)
All four functions return 0, irrespective of any collision between my sphere and the BSP geometry. Now before you go ahead and say the first thing that comes into mind, I have tested this scenario with a proper HalfLife BSP file and even a Quake BSP file. Both BSP files yield no results from the above four functions, they all return 0. I have provided a test program below to show you exactly what these functions do.
If anybody associated with the development of Dark Basic Professional can give a yes or no as to whether these functions have yet to be implemented or fixed or can provide me with an absolute reason as to what I am doing wrong, I will be overjoyed beyond description.
I've written all this because I cannot describe my frustration when comming up against a problem that brings the thing to a stand still.
Your help is much appreciated.
There are 10 types of people. Those who understand binary and those who don't