mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 10:19:06 +02:00
Add trigger part to vive controller display
This commit is contained in:
parent
52120de44a
commit
6f457e10eb
2 changed files with 14 additions and 4 deletions
|
@ -724,10 +724,6 @@ function hideEntitiesWithTag(tag) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var STEPS;
|
var STEPS;
|
||||||
|
|
||||||
var currentStepNum = -1;
|
var currentStepNum = -1;
|
||||||
|
|
|
@ -368,6 +368,20 @@ var VIVE_CONTROLLER_CONFIGURATION = {
|
||||||
z: 0.06380049744620919
|
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),
|
annotationTextRotation: Quat.fromPitchYawRollDegrees(180 + 45, 90, 180),
|
||||||
annotations: {
|
annotations: {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue