n5ro / aframe-physics-system

Physics system for A-Frame VR, built on CANNON.js.
https://n5ro.github.io/aframe-physics-system/
MIT License
505 stars 136 forks source link

got error in console that may be of interest #182

Open kylebakerio opened 3 years ago

kylebakerio commented 3 years ago
core:a-node:error Failure loading node:   TypeError: Cannot read property 'toUpperCase' of undefined
    at NewComponent.initBody (aframe-physics-system.js:17135)
    at NewComponent.init (aframe-physics-system.js:17098)
    at NewComponent.initComponent (component.js:320)
    at NewComponent.updateProperties (component.js:302)
    at HTMLElement.updateComponent (a-entity.js:490)
    at HTMLElement.updateComponents (a-entity.js:463)
    at entityLoadCallback (a-entity.js:249)
    at emitLoaded (a-node.js:127)
```js
/**

May be worth improving that line real quick?

This happened when adding superhands to stuff. I eventually solved the issue, don't recall what I changed.