SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Home / forum / Lounges / Maya Basics & Newbie Lounge / movement constraint
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 29-06-2003, 09: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, 01: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, 12: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, 04: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, 04: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, 06: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, 07: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
New Thread

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.