clamping Formula effector

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
  10 October 2012
clamping Formula effector

Hello, can anybody help me here? I need a formular effector to move the clones in Y but without intersecting the floor. So I need to clamp the sin curve at y<0.

the Default formula is: sin(((id/count)+t)*360.0)

Thank you for any help.
__________________
____
Cinema 4D Studio MSA, Zbrush, CS6, 3DCoat, Moi
Twitter: @holgerbiebrach
www.c4dStuff.com

HB_ModellingBundle
 
  10 October 2012
I think this will work

abs(sin(((id/count)+t)*360.0))

cheers
Martijn
 
  10 October 2012
Originally Posted by mart1jn: I think this will work

abs(sin(((id/count)+t)*360.0))

cheers
Martijn


absolutly great!! Thank you.
__________________
____
Cinema 4D Studio MSA, Zbrush, CS6, 3DCoat, Moi
Twitter: @holgerbiebrach
www.c4dStuff.com

HB_ModellingBundle
 
  10 October 2012
I guess it depends on the effect you want, but min/max sliders could have prevented it from going below 0 too
__________________
Quote: "Until you do what you believe in, how do you know whether you believe in it or not?" -Leo Tolstoy
Kai Pedersen
 
  10 October 2012
Another cheap-ish way to clamp it is to use the Melt Deformer.

Place it under the spline, set the Strength to 0% and line it up to the floor plane.
__________________
Do what you want to do, not what you think you want to do.
| ToothedWheel V2 plugin for C4D |UberTracer plugin for C4D |
 
  10 October 2012
Originally Posted by LucentDreams: I guess it depends on the effect you want, but min/max sliders could have prevented it from going below 0 too


Hey Kai, I was just figuring out this one....That is the most easy solution.
__________________
____
Cinema 4D Studio MSA, Zbrush, CS6, 3DCoat, Moi
Twitter: @holgerbiebrach
www.c4dStuff.com

HB_ModellingBundle
 
  10 October 2012
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:37 PM.


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