Game Development Community

Bots dont move? Torque3d 1.1b and GMK 1.2.8

by Donald Teal · in Game Mechanics Kit · 04/14/2010 (5:51 pm) · 2 replies

I put an elfbot into a map. created path01 and added a few markers

Then in the Elfbot onspawn box I put this

ElfBot01.followPath(Path01,$Path::CYCLE); ElfBot01.enablePerception(true);%this.maxForwardSpeed(5);



Nothing I do gets the elfbot to react or move.


I saved the level and restarted still nothing


Any ideas on what I am doing wrong?

#1
04/17/2010 (4:18 pm)
I figured out what is going on but not sure how to take care of it. but this is what happens

I have a path setup using the normal World editor, it has markers assigned to it and is in a simgroup called Paths. When i assign a bot to that path it will not follow the path.

Next I created a path using the GMK editor, then using the GMK editor I created markers and put their parent group as the path I just greated. Then I assign a bot to that path. Bot still doesnt move.

Next I created a path using GMK editor, Then I selected that path and pulled up the inspector for that path with the GMK editor open. I click on the green + circles in the inspector window of the path. it adds a marker. I do this for each marker I want then hit okay. I assign a bot to that path, and lo and behold the bot moves.

Now my question is .. what is going on here? A path is a path is a path..Right?
#2
04/22/2010 (5:41 am)
Can you show me code the code of *.mis files with these different paths?