Results 1 to 7 of 7
  1. #1

    Attachment and proximity constraints.

    Hi, I'm migrating from a Max/Maya Pipeline and so far all seems to translate pretty well, there are a couple of things I don't know how to d o in blender and any help would be greatly appreciated.

    1) In Max there is something called "Attachment constraint", this attaches an object to a deforming face, this is simply using the face's barycentric coordinates to position a transform and the face's normal to orient it after the deformation stack has been evaluated.
    In maya there is something similar (I think it's point on poly constraint for position and normal constraint for orientation.)
    anyone knows what the equivalent in blender would be?

    2)in maya there's the closest point constraint, this constraints a null to the closest point to a surface, and slides the the point on the surface if I move the original transform.
    I made a similar constraint in max using raycasting.
    Anyone knows a way to accomplish this?

    Thanks so much in advance, I've heard so many good things about this community that it's exciting to start being part of it.



  2. #2
    Ok, so I found an answer to one of the two at least.
    For the closest point constraint the equivalent wold be the shrinkwrap constraint, to make it behave like the maya one just parent the constraint one to an empty and move the empty.
    I'm still looking for the attachment constraint equivalent, the shrinkwrap is almost there but the object wont stick to a deforming surface.

    Hope this helps someone.



  3. #3
    There is no normal constraint as far as I can see, am I wrong?
    Last edited by Animatect; 06-Jun-17 at 19:33.



  4. #4
    Member Hadriscus's Avatar
    Join Date
    Apr 2012
    Location
    Massilia, France
    Posts
    1,333
    There is not. It is one big pitfall, unfortunately. You can always parent objects to vertices of a mesh, though.

    Hadrien



  5. #5
    I'll code one

    Thanks!



  6. #6
    Is this not similar to
    -https://blenderartists.org/forum/showthread.php?412706-Surface-Follow-from-2016-Blender-Conference
    -https://wiki.blender.org/index.php/User:Lucarood/SurfaceDeform
    and i guess you could use animation node to loop through some polygon normals and maybe interpolate between location and direction if a animation on the deformed surface is necessary.

    By the way would be cool if you share your script.



  7. #7
    Hey Vander thanks for the share! that is really cool, unfotunately it's not the same as a point normal constraint, the biggest difference in effect would be the sliding over a surface effect that plays hand in hand with the shrikwrap constraint, I'll attach an example of something I did in maya automating a process that includes these constraints, notice how the lid never leaves the surface of the eye even thou the eye is not spherical.

    by the way, as soon as I have a functioning constraint you bet I'll share it!



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •