PDA

View Full Version : Cloth Dynamics



grahamfro
10-21-2005, 12:42 PM
Can anyone point me to a good reference for using the cloth dynamcis in Layout? I read over the manual, but it doesn't really do a good job describing interactions between the tools or the types of effects you can get.

I have scaled back my ambitions for a moment and am just trying to drop a sheet onto a character. When it cathes on the collision object, the sheet snaps up backward and goes crazy. Apparently, there is too much energy in the system, as real cloth sheets don't react so violently.

Anyway, any help would be appreciated.

Celshader
10-21-2005, 01:12 PM
I have scaled back my ambitions for a moment and am just trying to drop a sheet onto a character. When it cathes on the collision object, the sheet snaps up backward and goes crazy. Apparently, there is too much energy in the system, as real cloth sheets don't react so violently.

Anyway, any help would be appreciated.

I strongly recommend starting with a sheet over a ball -- that way you can quickly experiment and analyze the individual ClothFX settings.

You can also try running the original ClothFX docs (for "FX_MotionDrive") through the Google translator (http://www.google.com/language_tools?hl=en):
http://www.dstorm.co.jp/FXMnD/

...it helped me glean additional info about ClothFX.

---

Later...consider reducing the Bound force of the character to 100%. I'm guessing that the FX_Collision of the character's been left at the default 200%, which means that points bounce away at 100% of the speed at which they hit. A Bound force of 100% can help reduce craziness, since the points will hit the collision surface and not bounce away.

Also, use a simplified version of the character...it can help speed up ClothFX and reduce the chances of ClothFX going crazy, since there's no small details in the collision object for the cloth to "snag" on.

You might even parent FX_Collision primitives to the character instead of using the character as a collision object directly, as suggested in this thread (http://www.spinquad.com/forums/showthread.php?t=8404&highlight=primitives).

---

Start with trying to drop a cloth over the ball first, though -- it'll make ClothFX easier to learn.

grahamfro
10-21-2005, 04:00 PM
Thanks for the help Celshader,

I tried playing with a sphere and it seems that the biggest thing I was having trouble with was the bound setting. I never paid attention to default so I thought the range was lower. Anyway, I then tried a mockup of my character using primitives, which worked well. Next, I put in my low poly character and was able to get collision working on it finally after adjusting the radius a few mm.

I still have a question though. Even though the collision looks right, there is still a lot of jitter in the cloth after it's all settled, and when the cloth touches itself at this time it jumps around like its wrestling itself.