Add trigger part to vive controller display

This commit is contained in:
Ryan Huffman 2016-09-06 11:21:10 -07:00
parent 52120de44a
commit 6f457e10eb
2 changed files with 14 additions and 4 deletions

View file

@ -724,10 +724,6 @@ function hideEntitiesWithTag(tag) {
});
}
var STEPS;
var currentStepNum = -1;

View file

@ -368,6 +368,20 @@ var VIVE_CONTROLLER_CONFIGURATION = {
z: 0.06380049744620919
},
parts: {
{
type: "linear",
modelURL: "",
input: Controller.Hardware.Vive.RT,
minValue: 0.0,
maxValue: 1.0,
textOffset: { x: -0.035, y: 0.004, z: -0.005 },
minPosition: { x: -0.035, y: 0.004, z: -0.005 },
maxPosition: { x: -0.035, y: 0.004, z: -0.005 },
}
},
annotationTextRotation: Quat.fromPitchYawRollDegrees(180 + 45, 90, 180),
annotations: {