changeset 54:7bc3b22c507b

translation behaves as expected, but the debug mesh does seems to be reversed from the actual bone layout
author Robert McIntyre <rlm@mit.edu>
date Tue, 15 Nov 2011 00:53:06 -0700
parents bb24106cbd6a
children 8b95180f5c69
files org/body.org
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
     1.1 --- a/org/body.org	Tue Nov 15 00:24:46 2011 -0700
     1.2 +++ b/org/body.org	Tue Nov 15 00:53:06 2011 -0700
     1.3 @@ -186,8 +186,13 @@
     1.4          (println-repl "moving " (.getName b))
     1.5          (println-repl (.getLocalPosition b))
     1.6          (.setUserTransforms b
     1.7 -                            (.add (.getLocalPosition b) Vector3f/UNIT_X)
     1.8 +                            Vector3f/UNIT_X
     1.9                              Quaternion/IDENTITY
    1.10 +                            ;;(doto (Quaternion.)
    1.11 +                             ;; (.fromAngles (/ Math/PI 2)
    1.12 +                             ;;              0
    1.13 +                             ;;              0
    1.14 +                                          
    1.15                              (Vector3f. 1 1 1))
    1.16  
    1.17          )