Follow a path question
by JD Scogin · in Torque 3D Beginner · 10/25/2013 (3:58 am) · 3 replies
I created a Demo player and have him follow a path. That works fine. But when I create a Demo player using a difference model, it moves to the path but does not follow the path. I have tried several different was with the same results. Is it because my model does not have the correct animation? I would that that would not matter, but I could be wrong.
Thanks
Thanks
About the author
Ahsan Muzaheed
Default Studio Name
assume,
u r ai's datablock name:
"xxx"
then u have to have an function like this:
function xxx::onReachDestination(%this,%obj)
{
//here copy paste everything from "demoPlayer::onReachDestination(%this,%obj)"
//which is located in game\scripts\server\aiPlayer.cs
}