Game Development Community

AIPlayer setMoveDestination() issue

by Freese · in Torque 3D Professional · 08/14/2011 (8:50 am) · 4 replies

Does anyone know of issues with this function in T3D1.1? When I do a getMoveDestination() in the function when I use setMoveDestination it returns the correct position that I expect. I have:

Checked the minimum distance and that is set to the default .25 meters.
Checked the AIPlayer state and that is "Move", so it should not have any issues moving.

Anyone have other ideas of what I could check?

Thanks for the help.

#1
08/14/2011 (9:46 am)
You haven't actually said what the "issue" is ...

Quote:
Does anyone know of issues with this function in T3D1.1?
Yes, yes I do.
There are different issues in each version of 1.1, check the T3D(Private) T3D 1.1 Bugs section for fixes for 1.1 Final (and Preview), and Legacy Bugs section for fixes for previous versions. Also check Resolved Bugs.

#2
08/14/2011 (11:17 am)
I'm guessing it's not moving. Maybe if you yell at it or threaten to dock its pay....
#3
08/14/2011 (2:56 pm)
Ah, yes. The issue at hand. Got so caught up in describing symptoms I forgot to be specific about what the issue is. I am using the default demo model/animations. Steve, I am working through your tactics game tutorial btw. When I mouse down on a terrain location, I get a spawned marker and everything looks great, but the AIplayer model appears to Lerp maybe a quarter meter at most and then never moves further or plays a walking animation. It does continue it's idle animation. Otherwise the notes above apply.


I had a glance through the bug list on the forums but did not see what I was looking for. Does not mean it is not there, just did not see it.
#4
08/14/2011 (3:17 pm)
There's an issue in 1.1Preview with Ai stopping because of their onStuck callback (should be "Resolved Threads"), but that's fixed in Final. There's a few other issues with Ai movement (again onStuck callback related in 1.1Bug section with fixes).