Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 29-06-2003, 10:47 AM   #1
microman01
Registered User
 
Join Date: Jun 2003
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default movement constraint

hi, i was wondering how do constrain an object so it can only move a certan amount

example: i have a lever on a wall that i want to contrain so it can only rotate up and down without it continuing on trought the wall

is there a feature for that?

Thanx for the help
microman01 is offline   Reply With Quote
Old 29-06-2003, 02:13 PM   #2
mtmckinley
The Maya Mountain
 
mtmckinley's Avatar
 
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
Thanks: 1
Thanked 25 Times in 25 Posts
Default

Set Driven Key could be one solution.

If you'd like, you could use a simple skeleton rig for the handle and you can limit the joint rotation.

Probably a few other ways you could do it.

Good luck!
__________________
-Mike
www.mtmckinley.net
The Maya Toolbelt
mtmckinley is offline   Reply With Quote
Old 30-06-2003, 01:20 AM   #3
microman01
Registered User
 
Join Date: Jun 2003
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanx mtmckinley but i'd rather not use a skeleton, i could try using set driven key

i thougt i saw a different way in a tutorial some where but i can't remeber where it was or how to do it

any other ideas would be nice
microman01 is offline   Reply With Quote
Old 30-06-2003, 05:41 AM   #4
M
Subscriber
 
M's Avatar
 
Join Date: Jan 2003
Location: BC, Canada
Posts: 2,250
Thanks: 0
Thanked 27 Times in 27 Posts
Default

Set driven key would be your best bet... very easy and you need no skeleton. Theres a free video on this site that explains how. Anyways.. other than that, i really dont know how. I dont see why set driven key would not work though.
__________________
"I should call you sugar maple tree cause i'd totally tap that" haha

email - mattwettstein@gmail.com
M is offline   Reply With Quote
Old 30-06-2003, 05:48 AM   #5
Dann
Registered User
 
Dann's Avatar
 
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Guys you are way over complicating this.

Go to your attributes tab and open the limit information planel. In there you can limit 2 axis to min=0 and max=0, and limit the third axis so your object doesn't go through the wall.
Dann is offline   Reply With Quote
Old 30-06-2003, 07:19 AM   #6
Ultragames
Registered User
 
Ultragames's Avatar
 
Join Date: Jan 2003
Posts: 1,113
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Nice trick Dann. Also, if your lever goes further than you set it to by setting the key, go to your Graph Editor, select the object, and change its motion type to Lineral.
__________________
Armitrex Studios
Now open!!
Ultragames is offline   Reply With Quote
Old 30-06-2003, 08:30 AM   #7
microman01
Registered User
 
Join Date: Jun 2003
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanx dann thats exactly what i was lloking for

your a life saver :bow:

i cant belive i've never seen that before
microman01 is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.