hi,

how can I detect if an entity is moving away from me ? inside a 3D space I want my enemies only to attack when they can see you (when they are facing you) . so how can I calcutate something like this ?

cheers