C'mon Filax, I know you can do this :)
I don't have blitz3D available anymore (for the mean time) but you should be able to work it out.
the easier option is to simply parent two pivots on the ball, and move one out by (-10,0,10) and one out by (10,0,10). the next frame they will have collided with the scenery and you can get their X values by simply doing "EntityX" on them :). after you finish, position them both back at 0,0,0 and call ResetEntity on them :)
I will try to grab code later but not for some time :)
I don't have blitz3D available anymore (for the mean time) but you should be able to work it out.
the easier option is to simply parent two pivots on the ball, and move one out by (-10,0,10) and one out by (10,0,10). the next frame they will have collided with the scenery and you can get their X values by simply doing "EntityX" on them :). after you finish, position them both back at 0,0,0 and call ResetEntity on them :)
I will try to grab code later but not for some time :)