Keep up-to-date with Free tutorials!!

 

Sign up to our twice-monthly newsletter today for the latest tutorials, interviews and product information.

Sign me up to receive third-party emails from 3dtotal's partners, too!

- Latest news
- Exclusive Shop Offers
- Preview early content
- Plus much more

 

Not Ready to take that step? OK, Why not just Subscribe to the RSS Feed

 
submit tutorial
1
How to link an object to a vertex in 3ds max

| Your Rating:
rating star fullrating star fullrating star fullrating star fullrating star half
(11 Votes)
| 27645 Views
| 1 Comments
| Comments 1
Date Added: 9th December 2009
Software used:
Keywords:
We often use morph technique for facial expressions. When we animate morph targets if for example we have to move the mouth if teeth modeled separately we have to animate them individually which is a tedious and inaccurate job. The other example is eyelashes.

For solving this problem we can link this objects to the specific vertex of head object. Here is a way to doing this with a little script

790_tid_image00.jpg 790_tid_image01.jpg

First of all we have to fine the number of vertex that we want to like our object to.
This can be derived by this script:

getVertSelection

The equal script for Editable Poly is:

polyOp.getVertSelection

We have to go to the vertex subobject level and select the specified vertex and then use this script in the Maxsript Listener (F11) to get the vertex number.

For example if our object name is "Obj2" the script must be:

getVertSelection $Obj2

Now we are going to use position script controller.

Select your object(the object that you want to link to the vertex) then go to the motion panel and from the assign controller rollout select position then click the assign control button , select position script from the list , script controller window appears.

First of all we must define the objects that we are going to use in the script we will do that by this script:

dependsOn $

Now we have to find the position of the vertex.
It'll come with this script:

getVert

And for poly objects:

polyOp.getVert

For example if we want to like an object which named obj1(a poly object) to the vertex number 59(that obtain before with getvertselection method) of another object which named obj2 we must do the following steps:

1 - Before linking object to vertex we have to align pivot point of object to pivot of vertex.

790_tid_image02.jpg
2 - Now go to the motion panel then from the assign controller rollout select position and click assign controller button then from the list select position controller.


790_tid_image03.jpg
3 - In the position controller window type following script:

dependsOn $obj2;
Pos = polyop.getvert $obj2 59;


 
1
Related Tutorials

Making 'Sleepy'

by Serguei Krikalev
published on 2016-06-07

Keywords: Serguei Krikalev, Maya, character, making of

rating star fullrating star fullrating star fullrating star fullrating star half (7)
Comments 0 Views 12471

Paint a glass effect

by Aekkarat Sumutchaya
published on 2016-06-15

Keywords: Photoshop, Aekkarat Sumutchaya, effects, glass, character

rating star fullrating star fullrating star fullrating star fullrating star full (1)
Comments 0 Views 4716

Making Of 'Abraham Lincoln'

by Stanko Stupar
published on 2012-03-07

Keywords: abraham, lincoln, character, caricature, head,

rating star fullrating star fullrating star fullrating star fullrating star full (5)
Comments 1 Views 24916

Self Portrait 1k0 2k16 making of

by Nicolas Brunet
published on 2016-07-13

Keywords: Nicolas Brunet, 3ds Max, self portrait, making of

rating star fullrating star fullrating star fullrating star fullrating star full (2)
Comments 0 Views 3347
Readers Comments (Newest on Top)
avatar
Webmenchu on Tue, 12 March 2013 3:13am
HI! i would like to ask you about a trouble i had, i used this script to create an animated character, but this needed to be duplicated so many times, the script got an error by to many objects with the same name, my cuestion here is how could i re-script this sentes to make automactly add plus one at name. F.ex. object_00 to object_01 when i merge another one.
Add Your Comment..