Control camera or car,the logic behinds starter racing kit ?
by Thang Nguyen · in Torque Game Engine · 03/20/2007 (7:53 pm) · 0 replies
Hi,
I have a few questions:
(1) can you plz explain the logic behind the racing kit, I read over the script file but couldn't understand much, from what I've seen:
+ at first the camera is created & the control is passed to the camera
+ the car is created
+ then later I don't understand how the engine controls the car & the camera. I think that maybe the control is still used by the camera and the movement of the car is transformed based on the camera. On the camera.cs, the camera actually has 2 modes "Observer" for 3rd person view & "Coprse" for death situation only. So I think in 1st person view, the control is passed to the car. But I couldn't find any code does that in script files.
(2) I'm using blender 2.4 with dts exporter 0.94 for creating model, from documentation, if I created a node named "Eye" then in 1st person view the the eye of my player will be the node "eye" but my model doesn't work like that, do I need to do anything else in the script file or the exporter doesn't support it
(3) can I find a popular chat room / irc channel to discuss about TGE ?
thanks,
Thang.
I have a few questions:
(1) can you plz explain the logic behind the racing kit, I read over the script file but couldn't understand much, from what I've seen:
+ at first the camera is created & the control is passed to the camera
+ the car is created
+ then later I don't understand how the engine controls the car & the camera. I think that maybe the control is still used by the camera and the movement of the car is transformed based on the camera. On the camera.cs, the camera actually has 2 modes "Observer" for 3rd person view & "Coprse" for death situation only. So I think in 1st person view, the control is passed to the car. But I couldn't find any code does that in script files.
(2) I'm using blender 2.4 with dts exporter 0.94 for creating model, from documentation, if I created a node named "Eye" then in 1st person view the the eye of my player will be the node "eye" but my model doesn't work like that, do I need to do anything else in the script file or the exporter doesn't support it
(3) can I find a popular chat room / irc channel to discuss about TGE ?
thanks,
Thang.
About the author