Jump to content

Placing objects on a surface


Recommended Posts

I’m trying to place instances of an object (copy to points) on a plane with a mountain sop, and have the object’s Y point in the direction of the plane’s normal. Is there an easy way to accomplish this? I’ve spent the last two days sorting through documents on orientation, upvectors, and all that follows, but I can’t find a simple way to accomplish this. Could anyone help me out?

Edited by Paradox^
Link to comment
Share on other sites

One other way you can do this is setting normals on the instance points (attribute transfer from the mountain geo). It doesn't give you full control, but your scatter objects Z-direction will always point in the direction of the normal - so you can achieve this by giving your scatter object the right orientation first. To have full control of all three axes you need to combine three vectors into an orient attribute matrix. You can do this with playing around with cross products, but might be overkill for what you're trying to achieve :)

Edited by Tronotrond
  • Like 1
Link to comment
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.

×
×
  • Create New...