Maya Local Direction

非 Y 不嫁゛ 提交于 2019-12-23 05:01:44

问题


What I'm trying to achieve is basically local translation in Maya attached to wheels for example: Moving a car forward in it's LOCAL Z direction and the wheel would spin the same speed no matter what rotation is applied, I've got close, this is what I've done!

  1. Connected the parentInverseMatrix and the worldInverseMatrix of the driver into a multMatrix node.
  2. Connected the output of the multMatrix node into a decompose matrix node.
  3. Connected the outputTranslateZ from the decompose Matrix node into the driven objects rotationY. This does work! Only problem is for some reason when I rotate the driver it rotates the driven, that doesn't make much sense to me though, do you know whats happening here or how I may fix it?

Matrix: https://www.dropbox.com/s/udkevskv41ruz01/matrixTest.mb

Expression: https://www.dropbox.com/s/q7xikbw4csx8uz4/wheel.ma

来源:https://stackoverflow.com/questions/14315215/maya-local-direction

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!