From 03c3952e525e87cf3793a2734b25add87924e4a9 Mon Sep 17 00:00:00 2001 From: Andrzej Kapolka Date: Thu, 17 Apr 2014 10:41:46 -0700 Subject: [PATCH] Better joint mappings, switch to working (more or less) model. --- examples/crazylegs.js | 6 +++--- examples/dancing_bot.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/crazylegs.js b/examples/crazylegs.js index 6311aea6e4..b0f8e937bc 100644 --- a/examples/crazylegs.js +++ b/examples/crazylegs.js @@ -15,12 +15,12 @@ var AMPLITUDE = 45.0; var cumulativeTime = 0.0; -print("# Joint list start"); var jointList = MyAvatar.getJointNames(); +var jointMappings = "\n# Joint list start"; for (var i = 0; i < jointList.length; i++) { - print("jointIndex = " + jointList[i] + " = " + i); + jointMappings = jointMappings + "\njointIndex = " + jointList[i] + " = " + i; } -print("# Joint list end"); +print(jointMappings + "\n# Joint list end"); Script.update.connect(function(deltaTime) { cumulativeTime += deltaTime; diff --git a/examples/dancing_bot.js b/examples/dancing_bot.js index de4f8224c3..b86047d2de 100644 --- a/examples/dancing_bot.js +++ b/examples/dancing_bot.js @@ -13,7 +13,7 @@ var animation = AnimationCache.getAnimation("http://www.fungibleinsight.com/faces/hip_hop_dancing_2.fbx"); -Avatar.skeletonModelURL = "http://www.fungibleinsight.com/faces/vincent.fst"; +Avatar.skeletonModelURL = "http://www.fungibleinsight.com/faces/beta.fst"; Agent.isAvatar = true;