mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-05 21:22:07 +02:00
add debugging
This commit is contained in:
parent
a4d1db1aeb
commit
047a3b8d71
1 changed files with 8 additions and 2 deletions
|
@ -24,10 +24,16 @@ mapping.from(Controller.Hardware.Kinect.RightFoot).debug(true).to(function(pose)
|
|||
function init() {
|
||||
var t = 0;
|
||||
var propList = [
|
||||
"leftHandType", "leftHandPosition", "leftHandRotation", "rightHandType", "rightHandPosition", "rightHandPosition",
|
||||
"leftFootType", "leftFootPosition", "leftFootRotation", "rightFootType", "rightFootPosition", "rightFootPosition"
|
||||
"leftHandType", "leftHandPosition", "leftHandRotation", "rightHandType", "rightHandPosition", "rightHandRotation",
|
||||
"leftFootType", "leftFootPosition", "leftFootRotation", "rightFootType", "rightFootPosition", "rightFootRotation"
|
||||
];
|
||||
handlerId = MyAvatar.addAnimationStateHandler(function (props) {
|
||||
|
||||
Vec3.print("recentRightHand.translation:", recentRightHand.translation);
|
||||
Vec3.print("recentLeftHand.translation:", recentLeftHand.translation);
|
||||
Vec3.print("recentRightFoot.translation:", recentRightFoot.translation);
|
||||
Vec3.print("recentLeftFoot.translation:", recentLeftFoot.translation);
|
||||
|
||||
return {
|
||||
|
||||
rightHandType: ikTypes["RotationAndPosition"],
|
||||
|
|
Loading…
Reference in a new issue