Apr 13, 2009 at 8:20 PM
Edited Apr 13, 2009 at 8:48 PM
THank you so much guys for helping me out and being quick with the responses,
I think i will do the method roonda suggested simply because it has a max and min parameter,
If i were to just do a line between the geometries(player and enemy) the field of vision would be way to far(unlimited sight is a bit to far)
I am going to check out the sample now and see how it works,
is there a way other then roondas way to do a raycast type method but have a limit?
And are there any dissadvantages to roondas?
I just checked out the line demo and am not sure what to say,
I am not sure what was going on,
i sa the square and circle,
then in debug view i saw a line near the angle border but when things colided with it nothing happened.
Then for some reason when i play with the xbox controllers thumbsticks it would say iether 1 geom collides or 0, but i didnt see anything hapeing onscreen.