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

By Ali Omidi
| Your Rating:
rating star nonerating star nonerating star nonerating star nonerating star none
(0 Votes)
| 18417 Views
| 0 Comments
| Comments 0
Date Added: 9th December 2009
Software used:
3ds Max
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

Tutorial

Gallery Image.



Keywords: Bane, ZBrush, Character, Maya, MARI, Photoshop, UVLayout, V-Ray

Go to tutorial
rating star fullrating star fullrating star fullrating star fullrating star full (2)
Comments 1 Views 8201

Tutorial

Gallery Image.



Keywords: 3dsmax, poly modeling, character

Go to galleries 1
rating star fullrating star fullrating star fullrating star halfrating star none
Comments 0 Views 5304

Tutorial

Gallery Image.



Keywords: character, creature, alien, head,

Go to galleries 1
rating star fullrating star fullrating star fullrating star halfrating star none
Comments 6 Views 87838

Tutorial

Gallery Image.



Keywords: 3ds Max, Interface, Tutorial, Workflow, Animation

Go to galleries 1
rating star fullrating star nonerating star nonerating star nonerating star none
Comments 0 Views 5445
Readers Comments (Newest on Top)
avatar
(ID: 186150, pid: 0) 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