[Bf-scripts-dev] Axis orientation copy updated
Martin Poirier
theeth at yahoo.com
Sat Dec 17 18:28:52 CET 2005
--- BF-Xand <bf-xand at wanadoo.fr> wrote:
> i update my bundled script "Axis Orientation copy"
>
>
http://www.zoo-logique.org/3D.Blender/zip/Axiscopy2.zip
>
> i use this long declaration :
> "cible.mat.rotationPart().toEuler().toMatrix()" to
> extract only the rotation part of the matrix.
> you can create a pure scale matrix or a pure
> rotation matrix but you can't extract each one
> separately.
> that could be a good addition to mathutils module.
You can just normalize the matrix you get through
rotationPart().
(assuming the matrix object has a normalizing method,
otherwise it's seriously missing)
Martin
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Bf-scripts-dev
mailing list