Changing terrain/levels during play
by Laurence Grant · in Torque Game Engine · 01/16/2007 (6:18 am) · 4 replies
I'm new to Torque, so I apologize if this is lame.
If I'm using all the native TGE functionality, I assume you can load new levels pretty quickly, right? This would include loading new terrain if you wanted?
Can I have a level without terrain (space). I'm not looking to do a super high-end space combat game, but if I want a space element to my game, can I leave the planet, transition to a new level and simulate a space like (6DOF) environment?
Thanks
If I'm using all the native TGE functionality, I assume you can load new levels pretty quickly, right? This would include loading new terrain if you wanted?
Can I have a level without terrain (space). I'm not looking to do a super high-end space combat game, but if I want a space element to my game, can I leave the planet, transition to a new level and simulate a space like (6DOF) environment?
Thanks
#2
01/16/2007 (6:49 am)
I would assume there is a way to disable gravity?
#3
You can disable gravity easily. Check out either updateMove() or updateForces() for your control object.
01/16/2007 (6:54 am)
The answer will always be "Yes" - because you got the source :) Game ENGINE, remember?You can disable gravity easily. Check out either updateMove() or updateForces() for your control object.
#4
01/16/2007 (7:00 am)
I realize that, but the less I need to do in the source, the quicker the overall proof-of-concept will be, hense "native TGE functionality". I appreciate the feedback, but I'm specifically interested in what I can do strictly with scripting at this point.
Torque 3D Owner Max
Long answer: Yes, but for the space level it might be hard because I don't think gravity is built into the mapping engine, you might just have to make a playerbody with less mass.
Also, if you are going to add multiplayer support, this will be tricky. You will need to run 2 servers. One playing the ground map, and one playing space.