Page 1 of 1

Cloth collision problem

Posted: Sun Apr 20, 2008 12:04 pm
by MandeRek
Well, i added cloth to one of my units. It worked before doing this, but now i added cloth, and this happens:

It exports, and when it says Pre-processing data it stops, saying succesfully saved scene, and xsi shuts down.. Can someone please post a pic of how to export an object with cloth? The cloth is setup correctly, I've done it before, only then someone exported it for me.. Note that I've also created a new shadow mesh, but that shouldn't be the problem as well.. Please; i just need a screen on what to check and uncheck when exporting!

Thanks in advance!

Image

Re: No export after adding cloth

Posted: Sun Apr 20, 2008 4:21 pm
by AceMastermind
Hidden/Spoiler:
Image

Re: No export after adding cloth

Posted: Sun Apr 20, 2008 4:52 pm
by MandeRek
Okay, the sv was making the crash, i made a new one..

About the cloth though; the colls aren't working! I've got c_pelvis, c_l_thigh and c_r_thigh.. All are child of the bone (f.e. c_pelvis of bone_pelvis) I select them in xsi with the cloth ppg, and the cloth is ingame, but it's still floating through the body! :? Do you need to freeze it or something?! Thanks!

Re: No export after adding cloth

Posted: Sun Apr 20, 2008 6:15 pm
by AceMastermind
When you create cloth collision(c_somename), treat it the same as you would when creating collision primitives(p_somename), the same rules apply to both types.
I use spheres because they always work, cylinders have occasional problems.
I always use the simple default naming such as c_sphere, c_sphere1, etc...

Cylinders and spheres cannot be scaled, instead, use the polygon properties such as radius and length to control the size.
Cloth collision cannot be frozen or lose their primitive properties or else they will be ignored by the Zero Engine.

Cloth doesn't collide with a soldier's auto generated collision which is why you need cloth collision, you can add as many as it takes to keep the cloth from flowing through the player, cloth will try to flow through even the smallest opening between your collision so make sure your collision is of adequate size and that you have enough of them to close the gaps.

Re: Cloth collision problem

Posted: Mon Apr 21, 2008 5:17 am
by MandeRek
Okay clear! If i use more then 1 sphere for 1 bone, that's fine i guess? Just put them all under that bone.. Thanks Ace, i only used 1 sphere for every bone!

EDIT
Sorry for the double post.. I've added tons of cloth collisions now, all setup correctly, but STILL no collision ingame! :?

When the cloth object starts in the collision sphere, would that mean it doesn't work? :? Ace, can i maybe send you the scene so you can tell what i do wrong?! :?

Thanks in advance