Game Development Community

Spawning on a path

by Papoute · in Torque Game Engine · 12/12/2006 (4:49 pm) · 0 replies

This is a weird bug and i hope u could help me out !

i've created a ship in 3dsmax with 4 mountPoint to mount 4 shapebaseimagedata

i can create an instance of that ship as a AIplayer and this ship can shoot from his 4 canon

but when i ask to put this ship on a path the engine crash

%AIBoatTest = AIPlayer::spawnOnPath("englishShip","MissionGroup/testPath");
%AIBoatTest.followPath ("MissionGroup/testPath", -1);

the weird thing is....the path is behind the player so when the engine start i can't see the boat on his path but when i turn the player to see where the ship should be, torque crash

if someone want to help me out i could send him the .max of my ship to see if anything is wrong in the exportation