From aeb35dc1d66053ab7558e9af897b6515abce33fb Mon Sep 17 00:00:00 2001 From: Fermin Date: Sun, 25 Feb 2024 00:04:58 +0100 Subject: [PATCH] Add setPath to XRControllerModelFactory --- examples/jsm/webxr/XRControllerModelFactory.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/examples/jsm/webxr/XRControllerModelFactory.js b/examples/jsm/webxr/XRControllerModelFactory.js index 39bc4940c40a4d..b888406cf70c4d 100644 --- a/examples/jsm/webxr/XRControllerModelFactory.js +++ b/examples/jsm/webxr/XRControllerModelFactory.js @@ -222,6 +222,14 @@ class XRControllerModelFactory { } + setPath( path ) { + + this.path = path; + + return this; + + } + createControllerModel( controller ) { const controllerModel = new XRControllerModel();