In AGK you can do it like that:
https://www.appgamekit.com/documentation/Reference/3D/GetObjectRayCastX.htm
In GLBasic I can apparently only raycast and get the distance, but not the exact position.
Is there another way?
I think you could calculate it somehow if you have the distance (vector plus vector x distance)?
Take a look at : http://www.glbasic.com/forum/index.php?topic=9773.0
Maybe you get the idea :D
that is great!
X_COLLISIONRAY() ?
.Edit: I really should stop skimming posts "but not the exact position" :P. So ignore this.