Xpresso | Object follows cloth pos *and* rot

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  06 June 2006
Xpresso | Object follows cloth pos *and* rot

I've been trying to figure this out for a couple of days... I just can't get it. After digging around the forum some, I've found several threads that allude to what I need, but none have that clear-cut solution that I need. I've tried all kinds of xpresso combinations and still coming up short.

Basically, I'm trying to use a square piece of cloth with some stiffness to collide with something and bounce/roll/slide/whatever off. That part's easy. But I'm trying to have a much nicer object follow the position (again, pretty easy) and the rotation (that's the part that's killing me) of said colliding cloth object.

I've looked through these threads and they've helped, but I still can't nail down the rotation.
http://forums.cgsociety.org/showthread.php?t=373519 (recent)
http://forums.cgsociety.org/showthread.php?t=220491 (old)
http://forums.cgsociety.org/showthread.php?t=280294 (old)

I've tried grabbing a polygon or point from the cloth and dealing with the resulting normals, and while I can make the "pretty" cube follow the collider one (using per's bounding box method above), I cannot, in any way, shape or form get the thing to rotate properly. I can get it to rotate all day long, even at the right angles (though it's not lined up with the original, if that makes sense) but just can't quite get it.

And no, putting the "pretty" item as a child of the standin does *not* work for cloth. It works great for dynamics, but you don't get all those wonderful particle effectors (wind, rotation, turbulence, etc) with dynamics.

Thanks for any help you can offer that'll save my sanity
  06 June 2006
Bake the first cloth solution and then make the good object a cloth too. Instead of letting it move freely though just belt all of it's points to the first baked object.
- www.bonkers.de -
The views expressed on this post are my personal opinions and do not represent the views of my employer.
  06 June 2006
That does *exactly* what I wanted. Thanks a ton! You're the man!

I've learned a lot about various approaches... but the versatility of Cinema never ceases to amaze me. (or the helpfulness of cgtalk types)
  06 June 2006
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 03:03 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.