Page 1 of 2

Collisions?

Posted: Sat Sep 13, 2008 5:34 am
by jedi_pilot
Hey there,
I'm trying to get a prop ingame :) (before this i've only done weapons). But I'm kinda confused about how to make a collision. So is there a basic tutorial on how to add a collision geometry? Thank's.

Re: Collisions?

Posted: Sat Sep 13, 2008 8:56 am
by Fluffy_the_ic
If your prop is one object, i make a really small cube, put it in the object, merge them, and rename it collision and hide. If it's multiple objects, just merge them all, same thing.

Re: Collisions?

Posted: Sat Sep 13, 2008 9:57 am
by woner11
What if I wanted it for the walls of my maze?

Edit: A few more questions:

Does this have to be done in XSI?

And is merge the same thing as combining them (I'm trying to figure out if this can be done in Maya)?

Re: Collisions?

Posted: Sat Sep 13, 2008 10:03 am
by Caleb1117
Fluffy_the_ic wrote:If your prop is one object, i make a really small cube, put it in the object, merge them, and rename it collision and hide. If it's multiple objects, just merge them all, same thing.
Heard of the duplicate tool?

Just duplicate you model, name it collision, and hide it.

Re: Collisions?

Posted: Sat Sep 13, 2008 10:13 am
by Fluffy_the_ic
I use duplicate quite a lot... I just thought that collision couldn't be textured.

Re: Collisions?

Posted: Sat Sep 13, 2008 10:25 am
by woner11
That makes things much easier. Thanks a bunch!

Re: Collisions?

Posted: Sat Sep 13, 2008 10:27 am
by Caleb1117
Fluffy_the_ic wrote:I use duplicate quite a lot... I just thought that collision couldn't be textured.
It can be, but it saves space if it's not, so open the collision, and delete it's texture clusters.

Re: Collisions?

Posted: Sat Sep 13, 2008 10:30 am
by jedi_pilot
Caleb1117 wrote:Heard of the duplicate tool?

Just duplicate you model, name it collision, and hide it.
What if I have a hi-polygon model :? ?

Re: Collisions?

Posted: Sat Sep 13, 2008 10:32 am
by Caleb1117
jedi_pilot wrote:
Caleb1117 wrote:Heard of the duplicate tool?

Just duplicate you model, name it collision, and hide it.
What if I have a hi-polygon model :? ?
Like how high?

Depending on the model, the collision sometimes needs to be even higher poly.

But I don't think the collision is rendered ingame, so I don't think it would cause any major problems.

Re: Collisions?

Posted: Sat Sep 13, 2008 10:34 am
by woner11
That's really simple and can be done in Maya meaning that my maze is done too! :runaway:

Though I still have one quick question, couldn't you just rename the original object before the duplication collision and then not hide it?

Oh, and one more. If my object is like 5000 polys and I give it collision, I won't be able to use meshex anymore will I?

Re: Collisions?

Posted: Sat Sep 13, 2008 10:38 am
by Caleb1117
woner11 wrote:That's really simple and can be done in Maya meaning that my maze is done too! :runaway:

Though I still have one quick question, couldn't you just rename the original object before the duplication collision and then not hide it?

Oh, and one more. If my object is like 5000 polys and I give it collision, I won't be able to use meshex anymore will I?
Uh no collision needs to be a seperate object from the original model... If I'm understanding you right. You also wouldn't want them both named collision.

Well last I heard, MshEx doesn't export collision, so there would be no point to you adding collision in scene, just to export with MshEx. Ask someone to export it for you.

Re: Collisions?

Posted: Sat Sep 13, 2008 10:41 am
by jedi_pilot
How could I add a collision and still use meshex :? ??

Re: Collisions?

Posted: Sat Sep 13, 2008 10:51 am
by Caleb1117
jedi_pilot wrote:How could I add a collision and still use meshex :? ??
You can't.
MshEx will only export the visible meshes. I think someone said they got collision working with MsheEx somehow, but I don't remember who or if it was really so.
Since MshEx doesn't export the collision, the game itself must make a collision surface.
Just ask someone to export for you.

Re: Collisions?

Posted: Sat Sep 13, 2008 10:54 am
by jedi_pilot
Thank's :) .

Re: Collisions?

Posted: Sat Sep 13, 2008 10:59 am
by woner11
Caleb1117 wrote:Uh no collision needs to be a seperate object from the original model... If I'm understanding you right. You also wouldn't want them both named collision.
No, what I mean is lets say you make something. Then without duplicating it name it collision, its still the only object in your scene. You don't hide in and then you export it. Would that object now have collision?

Re: Collisions?

Posted: Sat Sep 13, 2008 11:09 am
by Caleb1117
woner11 wrote:
Caleb1117 wrote:Uh no collision needs to be a seperate object from the original model... If I'm understanding you right. You also wouldn't want them both named collision.
No, what I mean is lets say you make something. Then without duplicating it name it collision, its still the only object in your scene. You don't hide in and then you export it. Would that object now have collision?
I honestly don't know what would happen then.

Re: Collisions?

Posted: Sat Sep 13, 2008 11:12 am
by jedi_pilot
Good idea Woner :thumbs: . I'll try that, and if that doesn't work, I'll have someone else export for me. Thank's :) .

Re: Collisions?

Posted: Sat Sep 13, 2008 11:52 am
by Blade
Erm... maybe this is just my lack of modeling experience... but doesn't visualmunge automatically create a collision geometry if the model doesn't have one?

Re: Collisions?

Posted: Sat Sep 13, 2008 11:54 am
by Fluffy_the_ic
No, it doesn't. ZE does if you check off build accurate collision geometry when opening the map, though.

Re: Collisions?

Posted: Sat Sep 13, 2008 12:00 pm
by Blade
Ah... well, I've never made a collision geometry for any of my models (as MeshEx can't export them, at least the second edition can't) and they've all had collisions in game. VM just says "blah_blah_blah has no collision geometry (this will be slow)"