Mercurial > cortex
diff org/movement.org @ 295:67a4e92d4628
made the hand 10x stronger
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Thu, 16 Feb 2012 09:59:44 -0700 |
parents | e27a91b1f997 |
children | 1eed471e2ebf |
line wrap: on
line diff
1.1 --- a/org/movement.org Thu Feb 16 07:43:13 2012 -0700 1.2 +++ b/org/movement.org Thu Feb 16 09:59:44 2012 -0700 1.3 @@ -122,6 +122,8 @@ 1.4 (vec (map #(float (* strength (/ % (last pool-integral)))) 1.5 pool-integral)) 1.6 control (.getControl target RigidBodyControl)] 1.7 + (println-repl "adding muscle to" (.getName target)) 1.8 + (println-repl "points" axis) 1.9 (fn [n] 1.10 (let [pool-index (max 0 (min n (dec (count pool)))) 1.11 force (force-index pool-index)]