How to create Rivet by yourself (pointOnSurfaceInfo node) in Maya

Описание к видео How to create Rivet by yourself (pointOnSurfaceInfo node) in Maya

00:00 Intro

00:11 Create a loft by selecting 2 edges

00:23 Find a loft node in Node Editor

00:43 Create a pointOnSurfaceInfo node
cmds.connectAttr("loft1.outputSurface", "pointOnSurfaceInfo1.inputSurface")

01:14 Connect a pointOnSurfaceInfo node for position
cmds.connectAttr("pointOnSurfaceInfo1.position", "locator1.translate")

01:23 Set parameters U and V to 0.5 and check the percentage for moving position to the center of a loft
cmds.setAttr("pointOnSurfaceInfo1.parameterU", 0.5)
cmds.setAttr("pointOnSurfaceInfo1.parameterV", 0.5)
cmds.setAttr("pointOnSurfaceInfo1.turnOnPercentage", 1)

01:38 Create and connect an aimConstraint node for rotation
cmds.connectAttr("pointOnSurfaceInfo1.normal ", "aimConstraint1.target[0].targetTranslate")
cmds.connectAttr("pointOnSurfaceInfo1.tangentV", "aimConstraint1.worldUpVector")
You can connect by normal, parameterU, or parameterV

02:06 Connect a aimConstraint node to the result
cmds.connectAttr("aimConstraint1.constraintRotate", "locator1.rotate")

02:20 Clear and delete unused

02:30 Result

00:00 Outro

Hi, I've created a short clip to share tips I know and solved from my past work. About 3D, Rig, and Animation.

Please feel free to leave any comments or if you have a better way.

My Portfolio
https://saintparinya.wixsite.com/port...

Buy me a coffee
https://www.buymeacoffee.com/rigitquick

Комментарии

Информация по комментариям в разработке