right now this is the code i have for detecting the player:
any help would be great.
asked Apr 24 '12 at 02:48 PM
The ray is probably coming from your feet, which means it hits the ground if the ground has the smallest of bumps on it. To test, can add a
Just pick a spot on the player where the "eyes" are, and a spot to look at on the enemy (if you use
This is crude, but works for manlike things (I'm saying the eyes are always 1.2 meters up from the feet.) You could child an empty in front of the player's head to be the eyes, and use:
answered Apr 24 '12 at 03:37 PM