fernandojsg / aframe-teleport-controls

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

Can't go further than a point #60

Closed payamspot closed 6 years ago

payamspot commented 6 years ago

aframe 0.8.0 gearvr with controller i have a game. using WASD i can go as far as i want. but when i switch to VR mode, using teleport i can't go further than a point!

donmccurdy commented 6 years ago

You'll probably need to share a demo / code to get help with this, there is no hard limit built into this component.

payamspot commented 6 years ago

Sure. Thanks Don. here is my project remix: https://glitch.com/edit/#!/tmp002 It's not possible to teleport further than a point. For example to teleport till edge of the green plane (ground). @donmccurdy

donmccurdy commented 6 years ago

If you're using the collisionEntities property, teleport controls will be able to go anywhere it can reach on those entities. Without collisionEntities, the default surface is a plane 100m in size. If you want to extend that, use defaultPlaneSize: 250 and so on.

See: https://github.com/fernandojsg/aframe-teleport-controls#properties

payamspot commented 6 years ago

I'm not using collisionEntities in the example above. I used defaultPlanseSize before, but didn't help :| I hope you had Gear VR with controller to test it yourself.