Jump to content

pfistar

Cloner: Independent up vector on clones

Recommended Posts

Hi all,

 

Wondering if anyone knows a way to override the Up Vector of clones on a surface. 

  • In short, I have a human cell model that's surface is animated using Displacer and Random  deformers.
  • I need to scatter some small receptor structures on its surface, which I'm doing using Cloner's Surface Distribution function.
  • The position of the clones follow the animated surface, which is what I want, however the clones also inherit the normal direction of the surface (polygon, or point, I'm not sure which) which is something I don't want.
  • Rather, I'd like the normal direction to be inherited from the center point of the object itself, so that the clones' positions follow the surface, but they always face directly outward, rather than following the vector of the nearest poly or point.

 

I'm guessing this might be a job for one of the MoGraph Effectors, or alternatively there's some Xpresso-based solution, but I haven't figured it out.

 

Also:

  • Is there a way to make a sub-selection of polygons on the cell object, after I've applied the Displacer Deformer and Random Effector.  "Active selection" doesn't seem to be available after these are applied to the base mesh.


Thanks ahead of time to anyone with tips!

 

NpF

 

 

receptors_minimum.c4d

Share this post


Link to post
Share on other sites

Please take care to post stuff in the right place... Moved to Mograph etc...

 

CBR

Share this post


Link to post
Share on other sites

You just need to turn off "Align Clone" in your cloner settings, then add a Target Effector.  Make a null in the center of your cell and make that the target object.  Then you'll just have to rotate the axis of your Receptor so that it points out.  Finally, add a Random Effector to randomize the rotation.  See my file:

receptors_minimum v2.c4d

  • Like 1

Share this post


Link to post
Share on other sites

Thanks very much natevplas for the quick response! Exactly what I was looking for!

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

YOUTUBE CHANNEL:

ABOUT US:

C4D Cafe is the largest CINEMA 4D community. We provide facilities for discussion, showcasing and learning our favorite software :) Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, get your own private messenger, post status updates, manage your profile and much more. If you need to find solution to your problem or otherwise ask for help, Cafe is the right place.
×
×
  • Create New...