-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
teleportTo(position, quaternion) API #55
Comments
You can sponsor $20 to vincentfretin fully or partially to work on this feature. Find other work you can sponsor at https://github.com/c-frame/sponsorship |
@3DStreet sponsored me to work on this issue. Thank you! |
You can use the following build to test it before the next 1.5.0 release <script src="https://cdn.jsdelivr.net/gh/c-frame/aframe-cursor-teleport@00d6039/dist/aframe-cursor-teleport-component.min.js"></script> see doc and basic example code: aframe-cursor-teleport/examples/basic/index.html Lines 62 to 80 in 00d6039
|
Add new API
teleportTo(position, quaternion)
, quaternion optional, with rotation y transition, also fix look-controls pitchObject.rotation.x if needed, to be used via buttons to change camera view.amplitude_teleport_api.webm
Related:
The text was updated successfully, but these errors were encountered: