Maya 3d tutorial Object Snapping with a mel script

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,319
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 1, 2009

Same procedure can be copied for orient snapping...a very simple way to snap one object to any other

Category:

Film & Animation

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (70MadMax)

  • I have a better idea! Why not select the cube (as u mentioned) and make it's LRA (local rotation axis) on! then select the cylinder and press "v" and snap it to the LRA of the cube!

  • @frozenfire7200 thanks for your reply...i needed a mel script, to use it on my ik/fk automation switch...

  • @frozenfire7200 hi, this is only an example about 'how to do that with a mel script'...then you can use it in other scripts, withouth user actions...

see all

All Comments (4)

Sign In or Sign Up now to post a comment!
  • If you want to snap the objects using the script but not have the point constraint remain - you can add this (changing the variables to $parent and $child):

    select $parent;

    select -add -hi c$child;

    select -d $child;

    pointConstraint -remove;

    -cheers

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more