I need help with a simple AI
In guardianRandomMoviment(int i)
if(distanceGuardianDestination(guardians) <= 0.0)
should have some kind of DIST_MIN value also (close enough...)
less than or equal to zero may cause a dodging action
if your movement doesnt do partial step when closer than one step from target.
Roundoffs can also make it never be 'equal zero....
--------------------------------------------[size="1"]Ratings are Opinion, not Fact
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement