Game Development Community

Binding Keys

by Andrew Son · in Torque Game Builder · 02/20/2011 (2:20 pm) · 1 replies

Hello everyone! I've had some experience with Torque 3D but now I'm checking out TGB so I'm doing the tutorials to get an idea on the similarities and differences. I'm doing the Fish Game and was working on movement and ran into a bit of a problem. My key bindings aren't responding. The weird thing is, I know I'm referencing the right object because when I call the movement functions from the console it will move the object appropriately but when I try to use the keyboard nothing happens. I tried deleting the DSO and running the program again but that didn't work either. I know it's not a typo because I copied the code straight out of the tutorial and I'm not getting any errors in the console. Is moveMap not the right object to reference for bindings? Please help!

#1
02/20/2011 (2:35 pm)
Nevermind. I got it working now.