Rotate OBJECT only?

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 10 October 2012   #1
Rotate OBJECT only?

The maxscript help file has a nice little function to emulate rotation with "affect pivot only" turned on:
fn rotatePivotOnly =
(
	local rotValInv = inverse (rotation as quat)
	animate off
	in coordsys local obj.rotation *= rotValInv
	obj.objectOffsetPos *= rotValInv
	obj.objectOffsetRot *= rotValInv
)

What I want to know is, what do I need to do in order to rotate an object WITHOUT affecting the pivot?
 
Old 10 October 2012   #2
What about something like $.objectoffsetrot *= ((eulerangles 0 0 45) as quat) ?
 
Old 10 October 2012   #3
Looks like what I am actually going to want to do is going to be a bit more complicated. I'm trying to set a bone to a different axis order, but still have its orientation be the same as before the change. Is there any way to do this?
 
Old 10 October 2012   #4
I think you have to move vertex position. It should be slower for hight polygon
__________________
YM & SkypeID: quangngainthk
http://rollingant.com
 
Old 10 October 2012   #5
First off why do you need to change the axis order of a bone?
__________________
Paul Neale
http://paulneale.com
 
Old 10 October 2012   #6
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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
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 04:58 AM.


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