Substance Painter
In this start to finish texturing project within Substance Painter we cover all the techniques you need to texture the robot character.
# 1 29-12-2004 , 09:45 PM
Registered User
Join Date: Nov 2004
Posts: 18

Setting Rotation Limits

Im setting up a farm seen as it seems to be popular at the moment and im a n00b to 3dcg. for the doors im trying to set rotational limits just as i would do with an IK handle.. can anyone help me address this?

# 2 30-12-2004 , 09:14 AM
blomkaal's Avatar
Subscriber
Join Date: May 2004
Location: Denmark
Posts: 816
You could add an attribute...

Haven't done this in a while, so bear with me if it ain't completely correct:

1. Make sure the door's pivot is where you want the it to revolve around.

2. Go to Modify -> Add Attribute and name the attribute (something like "swing" or "open" or something like that), and enter the values. Minimum should be 0 and Maximum should probably be the amount you want it to be able to open in degrees (if you want it to open to 180°, make the max value 180) and default doesn't really matter...

3. Key the values with the rotate attritube using Set Driven Key (Animate -> Set Driven Key -> Set [Option box])

Assuming you had to door selected, it will be loaded as the Driven object. If not, click Load Driven. Still with the door selected, click Load Driver.

In the Driver window, select you new attribute, and in the Driven window, select Rotate Y. Make sure that both attributes are set to 0, and then click Key.
Set the new attribute to its maximum and Rotate Y to the max you want the door to open, and click Key again.

You should now have a door that opens. To test it, click the attribute you added (the name, not the input box) and drag with the MMB in the work area, and watch your door swing open! user added image


-Blomkaal

# 3 01-01-2005 , 12:12 AM
Registered User
Join Date: Nov 2004
Posts: 18
thanx i will try this when i get home again and let you know what happens..

# 4 02-01-2005 , 10:50 AM
blomkaal's Avatar
Subscriber
Join Date: May 2004
Location: Denmark
Posts: 816
Yeah let me know if it works... I'm a bit curious about that myself user added image

# 5 02-01-2005 , 08:58 PM
Registered User
Join Date: Nov 2004
Posts: 18
yes it did work.. but i was lloking now into a hinge constraint with the door as an ARB thats affected by dynamics...

# 6 03-01-2005 , 04:01 PM
blomkaal's Avatar
Subscriber
Join Date: May 2004
Location: Denmark
Posts: 816
Not quite sure what you mean, but if you want hinges to move with the door, just parent them together...

# 7 03-01-2005 , 05:22 PM
mtmckinley's Avatar
The Maya Mountain
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
In the joint attributes, you have rotation limits section where you can set angles.

# 8 03-01-2005 , 06:51 PM
Registered User
Join Date: Nov 2004
Posts: 18
awesome thanx MT!!

# 9 03-01-2015 , 04:46 AM
LAOMUSIC's Avatar
LAOMUSIC ARTS
Join Date: Feb 2006
Location: Berlin, Germany
Posts: 3
I am trowing a ball against a door which have a Hinge Constraint to it.

Where to find the settings for the hinge Constraint Limits ?


LAOMUSIC ARTS

Last edited by LAOMUSIC; 03-01-2015 at 05:00 AM.
# 10 03-01-2015 , 01:00 PM
Jay's Avatar
Lead Modeler - Framestore
Join Date: Feb 2003
Location: UK
Posts: 6,287
For rotation limits do as As Mike said...its the easiest option of all. Select your object go to the Attributes for the model (not the shape) scroll down to Limit Information and open the Rotate tab, you can set your limits there.

'Hinge Constraint' is there such a constraint?? Im still in 2014. The setting/attributes for most things are always in the attribute editor. Seek and you will find.

Jay

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads