Off screen targert pointer

Blitz3D Forums/Blitz3D Programming/Off screen targert pointer

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

How about:

have an arrow mesh, and TRANSLATEMESH 0,0,forward_a_bit
1)Parent this mesh to the camera/view entity.
2)Point this mesh towards the target
3) Limit the yaw of this mesh to LOCAL >-90 and <90.
4) limit the pitch by the same local amount
5)If the target is onscreen, Hide this mesh, otherwise show it.






This idea is okay, You'll need to play with some code to get it to work :) Hope its w2hat you want.

Oh, and it has the advantage of being in 3d :)

You might want to play with totally limiting some axis for other effects :D