Chapter 12 - after changeing FreeCameraComponent to T3DCameraComponent thumbsticks stop working
by Todd W · in Torque X 3D · 03/15/2010 (2:12 pm) · 1 replies
I'm working through the Complete Guide to TorqueX.
After switching the <CameraComponent type="GarageGames.Torque.T3D.FreeCameraComponent" name="CameraComponent"/> to <CameraComponent type="GarageGames.Torque.T3D.T3DCameraComponent" name="CameraComponent"/> in the levelData.txtscene file the thumbstick input nolonger moves the boombot, however keyboard inout still works. If I break on the "move" object in _UpdateInput of MovementComponent3D and check the sticks property they are both constantly set to 0,0. I have version 3.1.4.0 and have am using the default MovementComponent3D class that is generated with the Simple 3D Pro template.
I have the exact same problem when I run the MyXnaFPS project in Chapter 12 that I downloaded from envygames without changing a thing, so it's obviously not my code.
Any ideas?
After switching the <CameraComponent type="GarageGames.Torque.T3D.FreeCameraComponent" name="CameraComponent"/> to <CameraComponent type="GarageGames.Torque.T3D.T3DCameraComponent" name="CameraComponent"/> in the levelData.txtscene file the thumbstick input nolonger moves the boombot, however keyboard inout still works. If I break on the "move" object in _UpdateInput of MovementComponent3D and check the sticks property they are both constantly set to 0,0. I have version 3.1.4.0 and have am using the default MovementComponent3D class that is generated with the Simple 3D Pro template.
I have the exact same problem when I run the MyXnaFPS project in Chapter 12 that I downloaded from envygames without changing a thing, so it's obviously not my code.
Any ideas?
Torque Owner Todd W