Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Programming (https://simplymaya.com/forum/forumdisplay.php?f=32)
-   -   Radius constraint (https://simplymaya.com/forum/showthread.php?t=5023)

Starkz 07-04-2003 12:43 AM

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.

mtmckinley 07-04-2003 03:47 AM

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?

Starkz 07-04-2003 04:12 AM

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.

cammm 08-04-2003 08:18 AM

have you tried using the offset value for the constraint?

Starkz 08-04-2003 08:34 AM

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.


All times are GMT. The time now is 10:24 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018