Object looking at other object? Linepick?

Blitz3D Forums/Blitz3D Programming/Object looking at other object? Linepick?

Guy Fawkes(Posted 2011) [#1]
Hi all. I need a function where an object can tell if another object is "looking" at it, so I can complete my talk to objects code :)

Can someone please show me example?

It would be definitely appreciated!

Thanks! :)


Rroff(Posted 2011) [#2]
EntityVisible command not work for you?


big10p(Posted 2011) [#3]
Yep, that or posssibly EntityPick, depending on what you want.


Guy Fawkes(Posted 2011) [#4]
Yes, because my player is turned with his back towards the character that i want to talk to. it should ONLY point the character towards the player if the player is looking directly at him. NOT with the players back turned :)

Last edited 2011


Guy Fawkes(Posted 2011) [#5]
Nvm, thanks big10p! :D EntityPick works a treat! ^^