Rotate OBJECT only?

Become a member of the CGSociety

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

Thread Tools Search this Thread Display Modes
  10 October 2012
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?
  10 October 2012
What about something like $.objectoffsetrot *= ((eulerangles 0 0 45) as quat) ?
  10 October 2012
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?
  10 October 2012
I think you have to move vertex position. It should be slower for hight polygon
YM & SkypeID: quangngainthk
  10 October 2012
First off why do you need to change the axis order of a bone?
Paul Neale
  10 October 2012
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
Society of Digital Artists

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

All times are GMT. The time now is 09:17 PM.

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