Mercurial > cortex
changeset 351:0596613e5a41
evened out touch sensor sensitivity in joint creature model.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Mon, 23 Jul 2012 07:59:55 -0500 |
parents | d2806d5c5f74 |
children | d9128eb5f42e |
files | assets/Models/joint/joint.blend assets/Models/joint/segment-layout.png assets/Models/joint/segment-layout.xcf org/joint.org |
diffstat | 4 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
1.1 Binary file assets/Models/joint/joint.blend has changed
2.1 Binary file assets/Models/joint/segment-layout.png has changed
3.1 Binary file assets/Models/joint/segment-layout.xcf has changed
4.1 --- a/org/joint.org Mon Jul 23 07:41:12 2012 -0500 4.2 +++ b/org/joint.org Mon Jul 23 07:59:55 2012 -0500 4.3 @@ -30,12 +30,12 @@ 4.4 4.5 (def joint "Models/joint/joint.blend") 4.6 4.7 -(defn load-creature [] 4.8 +(defn joint-creature [] 4.9 (load-blender-model joint)) 4.10 4.11 -(defn test-creature [] 4.12 +(defn test-joint-creature [] 4.13 (let [me (sphere 0.5 :color ColorRGBA/Blue :physical? false) 4.14 - creature (doto (load-creature) (body!)) 4.15 + creature (doto (joint-creature) (body!)) 4.16 4.17 ;;;;;;;;;;;; Sensors/Effectors ;;;;;;;;;;;;;;;;;;;;;;;;;;;; 4.18 touch (touch! creature) 4.19 @@ -62,6 +62,8 @@ 4.20 (nodify [floor me creature]) 4.21 standard-debug-controls 4.22 (fn [world] 4.23 + ;;(speed-up world) 4.24 + (light-up-everything world) 4.25 (let [timer (RatchetTimer. 60)] 4.26 (.setTimer world timer) 4.27 (display-dilated-time world timer)))