working example with non visible code

bind-jxr-target
Fabien Benetou 11 months ago
parent 51fc1d860f
commit f67d8d1301
  1. 4
      index.html

@ -3470,7 +3470,7 @@ AFRAME.registerComponent('startfunctions', {
<a-box pressable start-on-press id="box" scale="0.05 0.05 0.05" color="pink">
<a-entity collider-check raycaster="objects: .collidable; showLine:true;" ></a-entity>
</a-box>
</a-box>
<!-- could attach functions here... BUT then they have to be activable with the other hand! -->
<!-- visual reminders of shortcuts, a poster on the far left/right of keyboard shortcuts -->
@ -3506,6 +3506,8 @@ AFRAME.registerComponent('startfunctions', {
<a-console position="0 1.1 -0.8" rotation="-45 0 0" height=2 font-size="34" height=0.5 skip-intro=true></a-console>
<a-box target position="0 1.65 -0.5" scale="0.01 0.01 0.01"></a-box>
<a-gltf-model target id="bottle" scale=".1 .1 .1" value="jxr tiltUpId('bottle')" src="../content/WaterBottle.glb" position="0 1 -0.4"></a-gltf-model>
<a-troika-text anchor=left target ondrop="setNearbyEditor(el)"
value="https://webdav.benetou.fr/fot-demo-day/mobydick-extract.txt"

Loading…
Cancel
Save