Exporting from Max to Torque not working. Screenshots inside.
by __._ · in Artist Corner · 10/11/2006 (1:56 am) · 2 replies
Good morning,
I'm still unable to get things working the way they should so here's a final attempt to find someone who can tell me what I'm doing wrong. Below are links to three screenshots that show how I'm exporting the shape, and loading it into Torque. I'm not sure though if this should go in this forum, as it's both about 3D Max and loading it into the engine.
Here are the links:
http://ehv-srvhost-fe.fontys.nl/imd/tmp/1.png
http://ehv-srvhost-fe.fontys.nl/imd/tmp/2.png
http://ehv-srvhost-fe.fontys.nl/imd/tmp/3.png
As you can see I made a simple sphere and named it the way the manual suggested. I then used the exporter to generate a bounding box. The schematic overview looks the same as in the manual as well.
The second screenshot shows how I created a datablock for it, which is very basic and similar to the way it's done in the Getting Started guide. I added an onCollision function for debug reasons.
The third screenshot will show you that the shape shows up correctly in the engine, but it simply doesn't have the collision detection. I can walk right through it and the onCollision-function doesn't trigger.
I've spent almost a week now browsing this website's resources and forum, even googled for external guides, but I can't get it to work. I'm hoping that you can tell me what I'm doing wrong by looking at the screenshots. In any way, thanks for reading.
I'm still unable to get things working the way they should so here's a final attempt to find someone who can tell me what I'm doing wrong. Below are links to three screenshots that show how I'm exporting the shape, and loading it into Torque. I'm not sure though if this should go in this forum, as it's both about 3D Max and loading it into the engine.
Here are the links:
http://ehv-srvhost-fe.fontys.nl/imd/tmp/1.png
http://ehv-srvhost-fe.fontys.nl/imd/tmp/2.png
http://ehv-srvhost-fe.fontys.nl/imd/tmp/3.png
As you can see I made a simple sphere and named it the way the manual suggested. I then used the exporter to generate a bounding box. The schematic overview looks the same as in the manual as well.
The second screenshot shows how I created a datablock for it, which is very basic and similar to the way it's done in the Getting Started guide. I added an onCollision function for debug reasons.
The third screenshot will show you that the shape shows up correctly in the engine, but it simply doesn't have the collision detection. I can walk right through it and the onCollision-function doesn't trigger.
I've spent almost a week now browsing this website's resources and forum, even googled for external guides, but I can't get it to work. I'm hoping that you can tell me what I'm doing wrong by looking at the screenshots. In any way, thanks for reading.
Torque Owner Ben "Djaggernaut" Chavigner
1- Create a box named "Col-1" approximating the size of your sphere (this is what create the collisions)
2- Create a dummy (or duplicate an existing one) name it "Collision-1"
3- Link Col-1 to Start01. Link Collision-1 to Base01
4- Export!
Search the forums with "Collision box" to find more informations.