mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 18:23:22 +02:00
experiments
This commit is contained in:
parent
46b3c9641b
commit
6e6e052a31
1 changed files with 3 additions and 4 deletions
|
@ -146,7 +146,7 @@
|
|||
jointRotations.push(relativeXforms[i].rot);
|
||||
}
|
||||
var setJointSuccess = Entities.setAbsoluteJointRotationsInObjectFrame(doppelganger.id, jointRotations);
|
||||
// print('SUCCESS SETTING JOINTS?' + setJointSuccess + "for " +doppelganger.id)
|
||||
print('SUCCESS SETTING JOINTS?' + setJointSuccess + "for " + doppelganger.id)
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -508,9 +508,8 @@
|
|||
absoluteXforms = mirroredAbsoluteXforms;
|
||||
}
|
||||
var relativeXforms = buildRelativeXformsFromAbsoluteXforms(absoluteXforms);
|
||||
doppelgangers.forEach(function(doppelganger) {
|
||||
setJointData(doppelganger, relativeXforms);
|
||||
});
|
||||
setJointData(doppelgangers[0], relativeXforms);
|
||||
|
||||
}
|
||||
|
||||
function makeDoppelgangerForMyAvatar() {
|
||||
|
|
Loading…
Reference in a new issue