Game Development Community

Chapter 3 moveshape.cs slight error

by Jack Stone · in Torque Game Engine · 10/17/2004 (1:55 pm) · 1 replies

Hi, im new.
I can get this program to work, except for the moveshape function, it says:
CH3/moveshape.cs (42) : "unable to find object: '' attempting to call function 'getTransform'
CH3/moveshape.cs (47) : "unable to find object: '' attempting to call function 'SetTransform'
It seems that it cant send the information from "%shape" to that particualr function. I tried the already-written program on the CD, but it gave the exact same error, just different line numbers (42 and 47 are the line numbers where the get transform and settransform lines are)

Any ideas?
I tried setting shape to a global variable, but that had no effect. The heart is doing everything else its supposed to...

#1
10/17/2004 (2:48 pm)
Ah, sorry I just figured it out. It was just a typo in the MoveShape(%tt,50); console command, I should have seen that. It was supposed to be a global variable.