Announcements

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

Community
Maya Animation and Rigging
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya animation topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Constrain mesh to an imported alembic cache surface

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
Anonymous
2746 Views, 5 Replies

Constrain mesh to an imported alembic cache surface

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

 

Labels (2)
5 REPLIES 5
Message 2 of 6
mspeer
in reply to: Anonymous

Hi!

 

"...it doesn't work."

- What does this mean?

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

Message 3 of 6
Anonymous
in reply to: mspeer

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!

 

Message 4 of 6
mspeer
in reply to: Anonymous

Hi!

 

Do you have UVs on your alembic mesh?

UVs are required for the constraint.

Message 5 of 6
Anonymous
in reply to: mspeer

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) 

 

Message 6 of 6
mspeer
in reply to: Anonymous

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.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report