SimplyMaya Forums

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

Home / forum / Animation / Mel Scripts & Programming / Radius constraint
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 07-04-2003, 12:43 AM   #1
Starkz
Registered User
 
Starkz's Avatar
 
Join Date: Apr 2003
Location: Australia
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Radius constraint

Hey guys, I gotta admit that I joined up so I can sove this problem but this look slike a good forum to check out anyway.

I'm trying to constrain one locator to a fixed radius from another locator. Sounds easy, but I've tried a hundred ways of doing this with no success.

With the distanceDimnesion command you can define the distance and get a value - but you can't limit it! anoying.

I wont go into all my other attempts, but one way that sort of works is constraining the outside locator to the geometry of a sphere who's pivot point is on the inside locator. This works pretty well, but once I start scaling up the sphere (which I need to be able to do) the outside locator jumps around a little. Nothing I can do to stop this.

So, my question is, is there a way to do this mathematicly? or maybe theres a simpler way I havn't seen yet?

thanks for any help - alex.
Starkz is offline   Reply With Quote
Old 07-04-2003, 03:47 AM   #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

I'm not sure I'm grasping what you're trying to do, but would Set Driven Key be something you could do for this?
__________________
-Mike
www.mtmckinley.net
The Maya Toolbelt
mtmckinley is offline   Reply With Quote
Old 07-04-2003, 04:12 AM   #3
Starkz
Registered User
 
Starkz's Avatar
 
Join Date: Apr 2003
Location: Australia
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey Mike, cheers for the reply. Basicaly I'm trying to create a Distance Constraint. - I'd like to contrain one locator to a certain distance from another.

any ideas?

-alex.
Starkz is offline   Reply With Quote
Old 08-04-2003, 08:18 AM   #4
cammm
Registered User
 
Join Date: Mar 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

have you tried using the offset value for the constraint?
__________________
Cam
cammm is offline   Reply With Quote
Old 08-04-2003, 08:34 AM   #5
Starkz
Registered User
 
Starkz's Avatar
 
Join Date: Apr 2003
Location: Australia
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hey Cammm, did you reply to this on cgTalk as well?

if not, I'll give the same reply I gave before. using any point constraint with or without an offset value would lock the contrained locator to a position.

I want to be able to move the contrained locator to within a sphere of influence - or distance.

e.g. exactly like the Distance Contraint in XSI.
Starkz 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.