Game Development Community

Torque 1.5 New Console Method getCenter.

by Peterjohn Griffiths · in Torque Game Engine · 12/07/2006 (6:40 pm) · 2 replies

Anyone know how the new console method in Torque 1.5 "getCenter()" works. I need to find the center of a checkpoint and thought it was be as easy as
checkpoint1.getcenter();
but that didn't work.
I can't seem to find any info on this console method either.
Many thanks in advance.

#1
12/08/2006 (8:01 am)
I dont know about getCenter() , I think it takes parameters
but maybe checkpoint1.getWorldBoxCenter() will work for you?
#2
12/08/2006 (8:49 am)
If you've got the SDK, you've got the source code..