You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The example quest-physics.html gives this error with Aframe 1.4.0
physics.js:666 Uncaught TypeError: Cannot read properties of undefined (reading 'clamp')
at i.tock (physics.js:666:36)
at bind.js:12:17
at i.tock (index.js:127:7)
at v.tock (a-scene.js:725:36)
at e.object3D.onAfterRender (a-scene.js:52:34)
at hl.render (three.module.js:28497:39)
at v.render (a-scene.js:751:14)
at bind.js:12:17
at three.module.js:28350:35
at r (three.module.js:12556:3)
I can confirm that change in line 666 of physics.js solves the problem, but now the cylinder on the touch controls is in another position, cool thing about aframe 1.4.0 is now the buttons on the touch controls give visual feedback when touched or pressed.
Activity
Mrbside commentedon Dec 27, 2022
Shane from SideQuest told me in the discord server;
Looks like stemkoski needs to update the example. They need to change THREE.Math to THREE.MathUtils on line 666 of physics.js in that example.
hope this helps
Mrbside commentedon Dec 27, 2022
I can confirm that change in line 666 of physics.js solves the problem, but now the cylinder on the touch controls is in another position, cool thing about aframe 1.4.0 is now the buttons on the touch controls give visual feedback when touched or pressed.
[-]Problem with aframe 1.4.0 [/-][+]Problem with aframe 1.4.1 [/+][-]Problem with aframe 1.4.1 [/-][+]Problem with aframe 1.4.1 & Quest 2[/+]Mrbside commentedon Jan 6, 2023
I am now using aframe 1.4.1 & Quest 2
Everything works fine with the same fix on physics.js and the offset of cylinder with raycast on controller
Mrbside commentedon Jan 6, 2023
I also noticed sometimes when the scene just started if I press something on the controller I get errors like this one, on different buttons
