Page 1 of 1

One Way Collision Problem

Posted: Fri Jul 11, 2008 3:18 pm
by Blade
Ok, I've been working on a model, and the main portion of the building is a cylinder. To make it empty inside, I deleted the top and bottom polygons. Also, so that I could more easily have an "inner" texture and "outer" texture.
I exported with MshEx (not sure if that's relevant or not) and put the object in my map. I didn't get any MungeLog errors or anything, but when I went in game to see how it looked, something was wrong. The building looks fine from the outside, but once you get inside, you can see out through the walls, and can also walk out through them. This is really rather annoying as I've spent awhile on this model.

If anyone knows what's wrong/how I can fix it, please tell/show.
Thanks in advance

Re: One Way Collision Problem

Posted: Fri Jul 11, 2008 3:29 pm
by Caleb1117
It's the way you modeled it, from the inside of a mesh, you can see through, to the outside.

Like when you glitch through a Tatooine building.

Re: One Way Collision Problem

Posted: Fri Jul 11, 2008 3:35 pm
by trainmaster611
You need to flag it as a double-sided poly.

Re: One Way Collision Problem

Posted: Fri Jul 11, 2008 3:37 pm
by Blade
Sorry, but could you give me instructions on how to flag it as double-sided?

Re: One Way Collision Problem

Posted: Fri Jul 11, 2008 3:42 pm
by Caleb1117
trainmaster611 wrote:You need to flag it as a double-sided poly.
Actually I would like to know that too.

Re: One Way Collision Problem

Posted: Fri Jul 11, 2008 4:00 pm
by FragMe!
Since I am not truely convinced flagging it as double sided actually works* (which you may have to have the pandemic exporter to do anyway)
The easiest thing to do is duplicate the first cylinder (freeze it first), invert the polygons (polygon modify menu) and scale down it slightly or you will get the texture bleeding in game. The change the texture of the inside one to what you want then freeze that. Then try and export and see it that is what you want.




*must do some testing on this

Re: One Way Collision Problem

Posted: Fri Jul 11, 2008 4:15 pm
by RepSharpshooter
Also, in xsi, go to display > display options (all cameras) go to the performance tab, and check the Backface Cull box. This should make it look like what it will be ingame.

Re: One Way Collision Problem

Posted: Fri Jul 11, 2008 7:12 pm
by Blade
Ok, that seemed to fix the problem, for a few minutes... I went in ZE, and everything looked all right, except that one part of the building was missing a texture. I looked in my .msh folder, and sure enough, I had one of the textures named wrong (I confirmed this by opening the .msh file, and searching for that texture). I changed the texture's name, and went back to open ZE, to make sure it worked. It opened, but when I tried to open the DMI .wld file, it crashed once it started trying to open my layer... also, in-game, the object is gone. If anybody knows why this is, or if I should lock this and move it to the Modding forum, please let me know.