PDA

View Full Version : Attach objects to nearest face


vertigo
09-19-2007, 11:17 AM
Hello everyone!

I have a problem over here.:scream: But I am sure you can help me. The situation:

1. I have created a PFlow structure, that emits locked particles on a surface
2. With the help of Bobo's cool tool for freezing particles to meshes and Neil Blevins's nice detacher tool I converted the particles to single meshes (let's say spheres with the Names "PFlow_Sphere_*")
3. Now I would like to attach all these geometrical spheres to the mesh, they were formerly emitting from, but the attachment position should be exact like their current position (same face, same U & V coordinates)

Can that be achieved in a quick way? I have found that thread about attaching eyelashes (http://forums.cgsociety.org/showthread.php?f=98&t=481854&highlight=attachment), but couldn't quite understand it...

Thank you very much!!!

Greets
vertigo

martinB
09-25-2007, 08:17 AM
Is the mesh deforming? If not, just do a simple link.
If it is deforming, you probably want to use the Attachment Constraint?

-- MartinB

vertigo
09-25-2007, 09:31 AM
Is the mesh deforming? If not, just do a simple link.
If it is deforming, you probably want to use the Attachment Constraint?

-- MartinB

Thank you for the reply, Martin.

Yes, the mesh is deforming, so Attachment Constraint is the solution. But unfortunately I had difficulties attaching objects to random faces (by scripting). So I did a workaround, using PFlow. ;-)

Greets
vertigo

CGTalk Moderation
09-25-2007, 09:31 AM
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.