Author Topic: Torque Constructor, Player not colliding with models/interiors  (Read 1170 times)

Your probably like "This goes in help!!!!!!!!".,well OK I know that. Except it takes years for a person to actually help if any. For some reason after I make a model/interior for my map. When I import it into the map. My player does not collide with it. Some parts of it I will collide (mainly the exterior), but most of it I will just fly right threw it. So what is the answer to my problem? Thank you for reading, and or helping.

This goes in mapping help. Did you make a collision mesh? Are those necessary for maps?

No, you don't need to make a separate collision mesh.

If you resized or moved your interior through the transform option make sure you click your interior and drag it around a bit - Torque doesn't update the collision unless you do this. Also make sure you're exporting with the legacy .dif exporter when you export your interior.

 It works! .Thank you Wedge very much <3

Ill keep this topic unlocked. Just in case I have any more questions about Torque Instructor, or the Mission Editor.

Ok I got another problem D:

For some reason after I save the map when the interior is in it. When I try to start it up the interior isn't there and I fall forever.

What version of Torque Constructor are you using? 1.0.3 is bugged with these kinds of things.

I am using 1.06 I think it is the map editor that is the problem. Like it can not find out what object I want to be there I put "Add-Ons\Map_UltimateChallenge\Giant\Giant DeathMatch".

Don't put folders inside of folders. Just try Map_UltimateChallange\yourinterior.dif.

Nope, still doesn't work. Need any information that can help you solve my problem?

What do you mean by you cannot find the object you want to be there? If you go to place a new interior you can't see your interior on the menu? Or does it disappear from the map?

A zip of all the files you're using and any console errors you're getting could be helpful (we don't need the whole console log, just any errors that appear when the map loads or you try to create an interior).

It disappears from my map. Ill include a save of my .zip file in a second on this post.

http://www.mediafire.com/?sharekey=4c7d9651efa4ea515bf1f12f1ff3f30a8eb7c57c0ebb8a1984bbec0582a7e90e
« Last Edit: September 28, 2009, 08:14:50 PM by TheArchitect »

Open UltimateDeathmatch.mis in notepad.

Look for your interior instances and change the interior files to the ones below:

Quote
   new InteriorInstance() {
      position = "0 0 0";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile = "Add-Ons/Map_Slate/slate.dif";
      useGLLighting = "0";
      showTerrainInside = "0";
   };
   new InteriorInstance() {
      position = "2.44069 3.37482 10.3858";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      interiorFile ="./Giant Deathmatch.dif";
      useGLLighting = "0";
      showTerrainInside = "0";
   };

Before you were telling the game to look for slate.dif in the Blockland/Map_Slate folder. You need to tell it to look in the Add-Ons folder first.

You were also telling the game to look in the Blockland/Map_UltimateDeathmatch folder. This doesn't exist either. However, since the dif file is packaged in the same folder as the mission file, you don't need to tell it to look outside the folder. The game will interpret ./ as an instruction to look in whatever folder the mission file is in for the file you're naming.

OK, it works now. Many thank you's to you :D I am pretty sure I will not have any problems with this anymore so I will now lock the topic.