mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 12:51:15 +02:00
Better joint mappings, switch to working (more or less) model.
This commit is contained in:
parent
00829e0289
commit
03c3952e52
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue