Anybody can help me with linepick ?

Blitz3D Forums/Blitz3D Programming/Anybody can help me with linepick ?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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 :)