Constraining modynamics to 2d space

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 03 March 2013   #1
Constraining modynamics to 2d space

I want to have a group of sphere's rolling around on a plane with modynamics. But I want to constrain the sphere's on the Y axis, so they can't move up or down but can still move freely otherwise.

I figure this is a simple xpresso fix, but I can't figure it out. Anybody out there know how this could be done?
__________________
Jonah Tobias
 
Old 03 March 2013   #2
A collision plane on top with no friction?

Cheers
Lennart
__________________
MSA | OSX | xfiles ...Cinema4D Tools
 
Old 03 March 2013   #3
Thanks Lennart, but that won't solve it. I should mention that the sphere's are various sizes.
Imagine if a small sphere bumped into a large one it would very easily get pushed downwards or upwards, a collision plane above and below the sphere's would constrain them, but it wouldn't prevent overlaps.
__________________
Jonah Tobias
 
Old 03 March 2013   #4
If they're all spheres, you might be able to use cylinders instead (Non-renderable. just need them for their location). Have them with the same height, but different radii.

Then read the cylinder positions and use those as the centers for spheres with the same radius... Or you could just have said spheres renderable, and set as children to the cylinders.
__________________
Do what you want to do, not what you think you want to do.
| ToothedWheel V2 plugin for C4D |UberTracer plugin for C4D |
 
Old 03 March 2013   #5
rustEdge, that's probably the way to go. It's a shame I can't do it with sphere's all the way because they are calculated much faster in dynamics than cylinders. But your method works well.
__________________
Jonah Tobias
 
Old 03 March 2013   #6
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 07:45 AM.


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