Announcements

Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.

Constrain mesh to an imported alembic cache surface

Anonymous

Constrain mesh to an imported alembic cache surface

Anonymous
Not applicable

Hi All,

 

I have a scene with an animated surface (1) that was imported as alembic cache. 
I'm trying to connect a different mesh(2) to one of it faces using the "point on poly"(3) constrain, however, it doesn't work.

I also tried to connect a curve to it, using the nconstraint, "point to surface", during an nHair simulation and it didn't stick as well.

371986_0-1590050347203.png

 

Can anybody help? 

 

Thanks,

Ofir

 

0 Likes
Reply
Accepted solutions (1)
2,749 Views
5 Replies
Replies (5)

mspeer
Consultant
Consultant

Hi!

 

"...it doesn't work."

- What does this mean?

What are you doing (step by step), what happens?

0 Likes

Anonymous
Not applicable

Hi, thank you for replying!

 

I'm trying to make the mesh (2) to move with the surface (1).  

So I selected the face from the surface, added the mesh (with shift), and then choose the "point on poly" constrain.  

Although the surface is animated, the mesh doesn't move and I think it related to the fact that the surface was imported to the scene as alembic cache (it works just fine if I connect the mesh(1) to an animated box).

Is there a way to make it work?

 

Thanks!

 

0 Likes

mspeer
Consultant
Consultant
Accepted solution

Hi!

 

Do you have UVs on your alembic mesh?

UVs are required for the constraint.

0 Likes

Anonymous
Not applicable

Thanks a lot! 

Indeed that was the problem.

 

I have one more question, when I applied a UV map on the surface I was able to connect the mash to it, but the objects now jump all over the place when I play forward, like this:

point on poly1.pngpoint on poly2.pngpoint on poly3.png

Is it because I applied UVs on an animated surface and not the other way around?

(I already recreated the scene, but I'm still wondering what was the exact problem) 

 

0 Likes

mspeer
Consultant
Consultant

Hi!

 

"Is it because I applied UVs on an animated surface and not the other way around?"

- Yes, that's very likely the issue here.

If the UV map changes during animation it will not work.