Message 1 of 2
Help! Maya Python - Motion Paths
Not applicable
12-11-2020
11:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to create a script, where I have a camera and a NURBS circle and I attach it as a motion path, but I can't seem to make it work:
path = cmds.circle( n="motion path", nr=(0, 1, 0), c=(0, 0, 0), r=5 )
cam = cmds.camera(n="shot cam")
cmds.select( cam, path )
cmds.pathAnimation()
please, anyone, I am not sure why it won't follow the path. The video is what I want, but with my script, the camera doesn't follow the motion path.