CGTalk > Software > Maxon Cinema 4D
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 06-23-2006, 09:02 PM   #1
unseenthings
Where's my hasenfeffer??
portfolio
Gregory Dunn
3D Illustrator
Unseen Things
USA
 
Join Date: Feb 2003
Posts: 668
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
 
Old 06-25-2006, 07:24 PM   #2
Srek
Some guy
 
Srek's Avatar
CGSociety Member
portfolio
Björn Dirk Marl
Technical Design
Maxon Computer GmbH
Friedrichsdorf, Germany
 
Join Date: Sep 2002
Posts: 11,292
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.
Cheers
Björn
__________________
- www.bonkers.de -
The views expressed on this post are my personal opinions and do not represent the views of my employer.
 
Old 06-25-2006, 08:07 PM   #3
unseenthings
Where's my hasenfeffer??
portfolio
Gregory Dunn
3D Illustrator
Unseen Things
USA
 
Join Date: Feb 2003
Posts: 668
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)
 
Old 06-25-2006, 08:07 PM   #4
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,480
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
CGSociety
Society of Digital Artists
www.cgsociety.org

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

All times are GMT. The time now is 07:13 PM.


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