From ba8013a38edd1738e2b9404ee7e193cb9df91350 Mon Sep 17 00:00:00 2001 From: Fabien Benetou Date: Mon, 3 Apr 2023 19:58:09 +0200 Subject: [PATCH] extending piggybacking on target --- index.html | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 125bb2b..fc8210a 100644 --- a/index.html +++ b/index.html @@ -654,6 +654,7 @@ function plot(equation,variablename="x",scale=5,step=1){ AFRAME.registerComponent('target', { init: function () { targets.push( this.el ) + this.el.classList.add("collidable") } }) @@ -3061,12 +3062,12 @@ AFRAME.registerComponent('startfunctions', { - - - - - - + + + + + +