I spent six hours this morning trying to get TorqueScript to do ~anything~ with the camera...
by Greg Albright · in General Discussion · 10/23/2011 (1:35 pm) · 1 replies
Reading, searching trying anything at all I could think of...
Obviously I am fundamentally misunderstanding the camera in T3d.
All I want to do is make a static camera, and point it at my presentation field.
Any ideas???
Obviously I am fundamentally misunderstanding the camera in T3d.
All I want to do is make a static camera, and point it at my presentation field.
Any ideas???
About the author
I feel I have to explain my avatar. That was the first thing I did in Sculptris that didn't explode all over the place. Version 2. ZOMG when you guys where helping me switch to max why didn't you say Mudbox? Oh wait you did and I ignored you.
Associate Chris Haigler
Jester Dance
%myCamera = spawnObject("Camera", "<nameOfSomeCameraDataBlock>");Placing them via the editor is typically preferable because the camera objects will be saved in the level, you can adjust their position/rotation visually rather than tinkering with the raw numbers in TScript and you can change the camera's control mode (from Freefly to Stationary, etc.).
Once you've created the cameras you can use: GameConnection::setCameraObject() to force a client object to render using a specific camera.