fernandojsg / aframe-teleport-controls

A-Frame teleport controls component
https://fernandojsg.github.io/aframe-teleport-controls
MIT License
175 stars 71 forks source link

Fix warning for landingNormal prop #63

Closed robertlong closed 6 years ago

robertlong commented 6 years ago

Gets rid of the warning message:

core:schema:warn Default value `0 1 0` does not match type `vec3` in component `teleport-controls`
DerKarlos commented 6 years ago

To get rid of the warning, Line 91 of aframe-teleport-controls.js should be landingNormal: {type: 'vec3', default: {x: 0, y: 1, z: 0} },