Panning the Camera
by James Solomon · in Torque Game Engine · 07/31/2008 (9:27 am) · 0 replies
Heyo,
I am trying to implement an RTS Camera in my application. I have based my code and scripting on the RTS Starter Kit example. I have everything working except for when I move the mouse to the edge of the screen, I cannot figure out how to get the camera to pan the map. The rts demo example can do it, but I can't figure out what is different from my code and the rts code.
Anyone have any insight into this?
Thanks,
Jim
I am trying to implement an RTS Camera in my application. I have based my code and scripting on the RTS Starter Kit example. I have everything working except for when I move the mouse to the edge of the screen, I cannot figure out how to get the camera to pan the map. The rts demo example can do it, but I can't figure out what is different from my code and the rts code.
Anyone have any insight into this?
Thanks,
Jim