Turret Player object
by Funky Diver · in Torque Game Engine · 03/26/2004 (10:57 am) · 1 replies
Greetings,
I would like to create a turret-like player object for a small game, were the player will be "sitting" inside a big non-movable (but rotating) cannon and shoot at flying enemies and running bots. So, the player can rotate/look up/down the turret via the mouse/joystik, but cannot move it on the map.
How can I implement such cannon? I guess, i need to create a turret 3D model, attach it to a scenenode and, then, attach a camera to it. I prefer not to patch Torque C++ code for it. Can I make it only with a V12 script? If I cannot use only the game script, I'm ready to patch ;)
That is the problem for me. I can create a map, place objects on it, let them move, but have no idea how to create a complex scenenode in Torque via game script, attach camera to it and control the scenenode by mouse.
How can I make it?
I would appreciate any help and liks.
Thank you.
I would like to create a turret-like player object for a small game, were the player will be "sitting" inside a big non-movable (but rotating) cannon and shoot at flying enemies and running bots. So, the player can rotate/look up/down the turret via the mouse/joystik, but cannot move it on the map.
How can I implement such cannon? I guess, i need to create a turret 3D model, attach it to a scenenode and, then, attach a camera to it. I prefer not to patch Torque C++ code for it. Can I make it only with a V12 script? If I cannot use only the game script, I'm ready to patch ;)
That is the problem for me. I can create a map, place objects on it, let them move, but have no idea how to create a complex scenenode in Torque via game script, attach camera to it and control the scenenode by mouse.
How can I make it?
I would appreciate any help and liks.
Thank you.
Torque 3D Owner Stefan Rampp
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5345