Weird cloth collision

How to create models in XSI and other 3D applications and make them work in Battlefront 1 & 2. Post models, tips for application usage and share anything XSI, 3DMax, SketchUp, etc.

Moderator: Moderators

Post Reply
ForceMaster
Lieutenant General
Lieutenant General
Posts: 737
Joined: Fri Aug 08, 2008 11:27 pm
Projects :: Tron The Grid
Games I'm Playing :: The best..SWBFII
xbox live or psn: No gamertag set
Location: C:\Program Files\ForceMaster\Bin\ForceMaster.exe

Weird cloth collision

Post by ForceMaster »

Hi, I make an Obi wan player model, I follow the steps for export the mesh correctly and works perfectly with the animations and weapons. now, I put a cloth geometry in the model following the tutorial for add cloth, but the cloth appears weird in the model.

I.E:

1) I make a cloth geometry (kama), then, I freeze all transformations, then envelope the cloth to the bone_pelvis, then i put the cloth under "dummyroot".

2) I make an sphere named c_1 (it is very big, I change the radius in the popup window), then, my sphere is in the "floor" i move up it with the normal traslation (key "v") to the pelvis. then i put the sphere under bone_pelvis

3) I make two cilindres with the previus steps for the legs named c_2 and c_3.

4) go to "edit flags", then I select the collisions, then I selec the fixed points.

5) then I export the model.

6) I make a .odf with the correct lines for cloth like rep_inf_ep3obiwan_shirt.odf (or something similar)

sorry, I have not images now, but if i are doing something wrong please correctme. thanks!
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Weird cloth collision

Post by Maveritchell »

What does "weird" mean? Does your cloth stick out at odd angles? Does it not appear? Does it work like cloth, but doesn't read the collision? If you can get pictures, they might be helpful.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Weird cloth collision

Post by DarthD.U.C.K. »

4) go to "edit flags", then I select the collisions, then I selec the fixed points.

did you use the clothtool to select fixed points and colllisionprimitives?
ForceMaster
Lieutenant General
Lieutenant General
Posts: 737
Joined: Fri Aug 08, 2008 11:27 pm
Projects :: Tron The Grid
Games I'm Playing :: The best..SWBFII
xbox live or psn: No gamertag set
Location: C:\Program Files\ForceMaster\Bin\ForceMaster.exe

Re: Weird cloth collision

Post by ForceMaster »

DarthD.U.C.K. wrote:4) go to "edit flags", then I select the collisions, then I selec the fixed points.

did you use the clothtool to select fixed points and colllisionprimitives?
Sorry, yes, the "CREATE CLOTH" tool.

this is the result in game:
Hidden/Spoiler:
Image
Hidden/Spoiler:
Image

And this is an pic of the scene with the collisions selected:
Hidden/Spoiler:
Image
sorry for the delay in answer.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Weird cloth collision

Post by Maveritchell »

Your collisionsphere may have to be bigger; cloth collision usually needs to be (bigger than you might expect). The leg collision should be made from spheres, too - I don't believe cloth collision can use other primitives.
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: Weird cloth collision

Post by FragMe! »

Do you have your collision primitive in the root of the model or under the respective bones, they need to be under the bones or they done move with the legs etc.

Cloth collisions can be any primitive. I have used a cube to drape cloth over a box. (don't ask why :wink: )
ForceMaster
Lieutenant General
Lieutenant General
Posts: 737
Joined: Fri Aug 08, 2008 11:27 pm
Projects :: Tron The Grid
Games I'm Playing :: The best..SWBFII
xbox live or psn: No gamertag set
Location: C:\Program Files\ForceMaster\Bin\ForceMaster.exe

Re: Weird cloth collision

Post by ForceMaster »

FragMe! wrote:Do you have your collision primitive in the root of the model or under the respective bones, they need to be under the bones or they done move with the legs etc.

Cloth collisions can be any primitive. I have used a cube to drape cloth over a box. (don't ask why :wink: )
yes, every primitive is a child of therespective bone. in my case, the c_1 (sphere) is a child of bone_pelvis, the c_2 and c_2 (cilinder left an right) has childs of the legs bones (I forget the name...)

now, sory if I can understand this, Can i move, scale o traslate the primitive with the usual keys tools? I.E. move (key "v") scale (key "x") and rotate (key "c") in objects mode or can be transform in the polygon mode (keys "u" and "y")?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Weird cloth collision

Post by DarthD.U.C.K. »

no, you can only translate and rotate them, they have to be scaled through the propertypage
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Weird cloth collision

Post by AceMastermind »

Using cylinders as cloth collision might give you problems(look at your pic of the cloth penetrating Obi's legs) since they don't always seem to work, I would stick to spheres which have always worked for me(it's definitely working in your pic, just in the wrong place), but if cylinders work for you that's great.
ForceMaster
Lieutenant General
Lieutenant General
Posts: 737
Joined: Fri Aug 08, 2008 11:27 pm
Projects :: Tron The Grid
Games I'm Playing :: The best..SWBFII
xbox live or psn: No gamertag set
Location: C:\Program Files\ForceMaster\Bin\ForceMaster.exe

Re: Weird cloth collision

Post by ForceMaster »

I tried ussing only spheres but the collision of the legs is ignored again.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Weird cloth collision

Post by DarthD.U.C.K. »

you have to delete the "PandemicCloth_Fixed" cluster and the pandemiccloth symbolchild of the clothobject and make it cloth again in order to edit the parameters...

otherwise no changes wil be applied
ForceMaster
Lieutenant General
Lieutenant General
Posts: 737
Joined: Fri Aug 08, 2008 11:27 pm
Projects :: Tron The Grid
Games I'm Playing :: The best..SWBFII
xbox live or psn: No gamertag set
Location: C:\Program Files\ForceMaster\Bin\ForceMaster.exe

Re: Weird cloth collision

Post by ForceMaster »

I do that, and remove the orange "C" under the cloth geometry.
Post Reply