Join or
3d forums home Resources for 3d artists


Pelvis Rotation MaxScript




3d Forum -> 3D Animation Talk Previous topic | Next topic
sinanmut Posted: October 03, 2009   Post subject: Pelvis Rotation MaxScript
CG forums guest





Back to top
Reply
Hi,

I am new in max script. There is something that I could not understand about rotating the pelvis. For example:
Q2 = quatToEuler (biped.getTransform $'Bip01 R Foot' #rotation)
(eulerAngles 180 90 0)

QP = quatToEuler (biped.getTransform $'Bip01 Pelvis' #rotation)
(eulerAngles 173.182 -89.9999 0)

biped.setTransform $'Bip01 Pelvis' #rotation (eulerToQuat Q2) false

When I set Q2 as above

the final rotation is

quatToEuler (biped.getTransform $'Bip01 Pelvis' #rotation)
(eulerAngles -180 89.9999 0)

but it should be (eulerAngles 180 90 0) since Q2 is equal to this value.

Is there something that I am missing to change before setting the pelvis rotation?

Thanks a lot.

3d artist gallery Andyba Posted: October 09, 2009   Post subject:
Site Admin


Joined: 25 Jul 2005
Posts: 899

Back to top
Reply
It's quite difficult to understand what you have here.
Q2 - is the rotation of the Right Foot right?
QP- is the rotation of the Biped pelvis?

So what is your relationship between the right foot rotation and the pelvis rotation?


_________________
Andyba, 3d artist
skills: 3d modeling, texturing, rendering, 3d character animation, compositing
3d software experience: 3ds max, Maya, Softimage XSI, Deep Paint 3d, Body Paint 3D, Wings 3D, Z Brush
2d software experience: Adobe Photoshop, Adobe After effects, Macromedia Flash, Freehand

Sponsor Posted: February 10, 2012   Post subject:
3d forum sponsor


Joined: 09 Aug 2010
Posts: 1

Back to top

Reply to topic    3d Forum -> 3D Animation Talk Previous topic | Next topic
Username:
Message body:
To Attach an Image to your post write the message then press the Go Advanced button. In the bottom of the advanced reply screen you will see an option to upload an image from your computer.

Confirmation code: Enter the code with CAPITAL LETTERS. There is no zero. Please add the result of 10-2*3= in front of the code.