3
0
Fork 0
mirror of https://github.com/JulianGro/overte.git synced 2025-04-30 01:22:51 +02:00
This commit is contained in:
James B. Pollack 2016-03-24 15:31:32 -07:00
parent aba8794428
commit 4f1fc296e6

View file

@ -249,7 +249,7 @@
RightHandPinky3: "RightHandPinky2",
RightHandPinky4: "RightHandPinky3",
LeftShoulder: "Spine3",
LeftArm: "LeftShoulder",
LeftArm: "LeftShoulder",
LeftForeArm: "LeftArm",
LeftHand: "LeftForeArm",
LeftHandThumb1: "LeftHand",
@ -448,7 +448,6 @@
return offset
}
function matchBaseRotation() {
var ids = Entities.findEntities(MyAvatar.position, 20);
var hasBase = false;
@ -464,7 +463,6 @@
}
}
var isConnected = false;
function connectDoppelgangerUpdates() {
@ -509,8 +507,10 @@
}
var relativeXforms = buildRelativeXformsFromAbsoluteXforms(absoluteXforms);
print('DOPPELGANGERS:::: ' + doppelgangers.length);
print('DOPPELGANGERS:::: ' + JSON.stringify(doppelgangers));
setJointData(doppelgangers[0], relativeXforms);
print('DOPPELGANGERS:::: ' + JSON.stringify(doppelgangers));
doppelgangers.forEach(function(doppelganger) {
setJointData(doppelganger, relativeXforms);
})
}