Game Development Community

Torque Crashing

by Robert Pash · in Torque Game Engine · 11/04/2010 (8:44 pm) · 3 replies

Ok it's been awhile (little over a year) since I've worked with Torque at all. Anyway here is my situation I'm in my final class for school and I'm needing to create a 3 scene game (scene = environment) which is fine, since I used Torque before and creating scenes there would be my easiest bet I went that route.

What I'm trying to do that is causing Torque to crash is I'm taking an .OBJ 3D model importing it into MilkShape 3D (which I don't really care for), then exporting it to a DTS file for Torque. When I go to export I have the option to create a collision for it (to prevent player from passing through object) in either square or cylinder form.

When I use either form of collision Torque will crash when I attempt to add the static object. But if I use the same object without collision Torque adds it just fine, but as I said I go that route the player is free to pass through the object which defeats the purpose of having it there.

Any ideas on what I can do? Or can someone recommend a free (or 30 day trial will work) of an app that I can import various file types (OBJ, 3DS, etc etc) and export them into a format Torque can understand?

#1
11/09/2010 (6:14 pm)
There are a few tools in the folder tools of SDK Torque. But many times (like you see) the problem is a bad collision. I've never worked with "milky" but some times when my torque crashed is for that reason, my collision structure is bad. The recomendation is read a little the torque documentation for artits.

http://www.torquepowered.com/documentation/artist

and...

http://tdn.garagegames.com/wiki/TorqueGameEngine&needLogin=1

I found many tips in this sites

I've used Delgine for some exports

http://www.delgine.com/

Greetings
#2
11/10/2010 (3:11 am)
Yeah I narrowed it down to a collision issue when I enable that option in MilkShape. I think for the time being I'm going to just either place an existing working object in front of the new ones to prevent the player from getting too close.

Thanks for the links, I will check them out as soon as I get a good working version of this project, I'm not one to take the easy way and leave it at that I'd rather learn how to make the game do what I want.
#3
11/10/2010 (9:17 pm)
The easiest way to make collisions for your objects is with eather a sphere or box. Name the object Collision-1 in Milkshape and you'll be good to go.