wire paramater

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 07 July 2012   #1
wire paramater

i have 2 objects in there initial states but when i link obj_a translation to obj_b rotation it shifts i cant seem to 0 them out is there a way in the expressions to stop it from shifting?


i tried reaction manager but seems broken im in 2013


thanks
 
Old 07 July 2012   #2
it's not zeroing out you need to convert to or from degrees. Internally rotations are stored as radians, even though they show as degrees in the UI. Try:
degToRad Translation
or:
radToDeg Rotation
For more help refer to this topic in the Maxscript help.

-Eric
__________________
"The Evil Monkey hiding in your closet."
 
Old 07 July 2012   #3
thanks ill try that
 
Old 07 July 2012   #4
Don't forget to apply a freeze transform before doing any wire, this way all your values will be zero at start.
__________________
Back to the university...
 
Old 07 July 2012   #5
that the prob it wont freeze
 
Old 07 July 2012   #6
Try restarting your max, I have had some of the macros stop responding until a restart, like the set skin pose for example.

Otherwise, here is a 'poor man's' freeze transforms. Select your objects and run this. Just make sure you set the second controller as the one you wire to.

for i in 1 to selection.count do
(
	selection[i].pos.controller = position_list ()
	selection[i].pos.controller.Available.controller = Position_XYZ ()
	selection[i].rotation.controller = rotation_list ()
	selection[i].rotation.controller.Available.controller = Euler_XYZ ()
)
__________________
Debris Maker
Portfolio
Blog
 
Old 07 July 2012   #7
oh sweet thank ill try that
 
Old 07 July 2012   #8
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
 
Thread Closed share thread



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
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 03:08 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.