Game Development Community

Bug/reversion in setAimObject?

by Dave · in Torque Game Engine Advanced · 01/25/2006 (6:07 am) · 3 replies

Hi,

Working through the AI tutorial on the TDN TSE site, I came across this statement

***********

Fortunately, there is an addition to TGE 1.4 that allows you to specify an offset to add to the setAimObject's position:

Bob.setAimObject(Dirk, "0 0 1");

************

This doesn't in fact seem to work. I get a "wrong number of arguments" message in the console. Using the first arg on its own works fine.

Is this an update that hasn't made it through to TSE somehow or is the tutorial wrong?

Thanks,

Dave.

#1
01/26/2006 (2:53 am)
Found a thread that showed how to implement this in the code. Would still like to know if this should be in TSE as standard or not, if anyone can tell me please.

The workaround doesn't work for me, so I updated the thread here
http://www.garagegames.com/mg/forums/result.thread.php?qt=19984


Thanks,

Dave.
#2
01/26/2006 (7:56 pm)
It will get rolled into TSE when TSE is merged against TGE 1.4.
#3
02/01/2006 (10:33 am)
OK thanks, I thought I had read somewhere that had already been done. Obviously a mistake on my part.

Thanks,

Dave.