GarageGames / Torque3D

MIT Licensed Open Source version of Torque 3D from GarageGames
http://torque3d.org
MIT License
3.35k stars 1.2k forks source link

ingame ALT+C to toggle the camera doesn't work #1943

Open John3 opened 7 years ago

John3 commented 7 years ago

In game don't work ALT+C to toggle the camera, this worked in v3.8.

http://pastebin.com/0AUQ72Te

scripts/server/components/game/camera.cs (134): Unable to find object: 'SGOManager' attempting to call function 'Spawn' scripts/server/components/game/camera.cs (140): Unable to find object: '' attempting to call function 'getComponent' scripts/server/components/game/camera.cs (140): Unable to find object: '' attempting to call function 'setupControls' Set::add: Object "" doesn't exist SwitchCamera: No client or target camera! scripts/server/components/game/camera.cs (109): Call to error in switchCamera uses result of void function call. SwitchControlObject: No client or target controller! scripts/server/components/game/controlObject.cs (81): Call to error in switchControlObject uses result of void function call.

killsap commented 7 years ago

Why should ALT + C be available in game? It seems like it should only be available in editor. Also, how did you set up your environment to get this error? Because the ALT + C works in the torque3D source I downloaded and ran in game and editor.