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

Get vertex position from nClothShape.OutputStartMesh

0 REPLIES 0
Reply
Message 1 of 1
brandaosa
262 Views, 0 Replies

Get vertex position from nClothShape.OutputStartMesh

I know I can plug an object (i.e.:  "Cube2") and just use its shape node's inMesh attribute plugged to nClothShape1.outputStartMesh. Then I can get vertex[3] position from Cube2 using:

 

pointPosition -world pCube2.vtx[3]

 

I was wondering a way to skip creating an object just to use its Shape to grab a vertex which is already in nClothShape node. I was wanting something like:

 

pointPosition -world  ( nClothShape1.outputStartMesh as shape ) .vtx[3];

 

what is the right approach?

 

 

 

 

 

 

 

 

Labels (1)
0 REPLIES 0

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

Post to forums