AIPlayer.setMovementSpeed doesn't work
by gamer · in Torque Game Engine · 12/05/2006 (9:05 pm) · 2 replies
Hi,
I call AIPlayer.setMovementSpeed(5) then AIPlayer.setMoveDestination(destination); but the AIPlayer still slides at his max speed toward the destination.
has anyone gotten this prob before?
thanks!
I call AIPlayer.setMovementSpeed(5) then AIPlayer.setMoveDestination(destination); but the AIPlayer still slides at his max speed toward the destination.
has anyone gotten this prob before?
thanks!
About the author
#2
12/06/2006 (3:25 am)
setMoveTolerance () works just fine, however, setMovementSpeed () is limited in that if your AIPlayer object can not run faster than 42 (set in the datablock) you will not be able to set it higher either, just lower.
Torque 3D Owner Hesham Amiri