Filling an object using dynamics

Become a member of the CGSociety

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

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 07 July 2013   #1
Filling an object using dynamics

I know Ive seen a tutorial on this before but after much searching I still cant seem to find the answer anywhere.

Pretty simple.

I have half a sphere I want to fill with objects being dropped into it using dynamics. My issue is the half shpere is still acting like a closed surface, so the objects arent falling into it. But are instead bouncing off an invisible top.

Any quick info on how to do this would be really appreciated.

Thanks.
 
Old 07 July 2013   #2
Change your collision shape on the collider to static mesh. Other shape types create a simplified skin to determine collisions, which don't take into account things like indentations and cavities.

-kvb
__________________
www.kvbarnum.com
LOBODESTROYO!!!
 
Old 07 July 2013   #3
Select the sphere's dynamics tag, then into the collision tab set the shape to "static mesh".
__________________
One on one Online Instructor for Cinema4D | Visit www.Fluffy4D.com for more info.
 
Old 07 July 2013   #4
Weird. I initially tried that option but for some reason it didnt take. Maybe cause I had it play looping?



Anyways. Thanks guys! Big help.
 
Old 07 July 2013   #5
Ok. New issue. How do I prevent this from happening? (the objects breaking through the surface of the bowl)



Anything I can do to prevent this?

Thanks.
 
Old 07 July 2013   #6
Project Settings --> Dynamics --> Expert --> Steps per Frame

Essentially, each frame of the dynamics simulation, Cinema 4D asks each cube a certain amount of times "Are you touching the bowl? No? Ok, keep moving in the same direction. Now are you touching the bowl? No? Ok, keep moving in the same direction." The cubes are moving so fast that between these inquiries from Cinema, they move enough to pass through the edge of the bowl. Increasing the Steps per Frame increases the amount of times that Cinema queries the cubes, and thus prevents them from passing through the surface.
 
Old 07 July 2013   #7
Awesome! Thanks for the help and extra thanks for the explanation!
 
Old 07 July 2013   #8
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
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 09:29 AM.


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