Skip to content
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

I can't teleport using the waypoint-link method #6482

Open
sgaset opened this issue Mar 23, 2024 · 1 comment
Open

I can't teleport using the waypoint-link method #6482

sgaset opened this issue Mar 23, 2024 · 1 comment

Comments

@sgaset
Copy link

sgaset commented Mar 23, 2024

Hi! I'm having trouble teleporting in Spoke. I'm using the waypoint and link modes, following these instructions: I name a waypoint 'door' and then tell the link to connect through the URL '#door', so that when I click on the said link, I'm teleported to the 'door' waypoint. The problem is that out of 20 connections of this type that I've created, only 6 work. They were all created by duplicating the previous link, so the base settings are identical, and I can't find answers to solve the problem on the web. Does anybody know what to do to solve this?

@Exairnous
Copy link
Contributor

Hey o/
The teleporting system definitely has some quirks. What you describe sounds like something I've run into before and the solution was to make sure that your waypoint names are unique (not just unique compared to other waypoints but unique compared to every other element in your scene). From my notes:

Waypoint teleportation links attempt to teleport you to the first element with that name in the Spoke hierarchy and if it isn't a waypoint it will fail e.g. a waypoint with name ‘X’ and then an image with name ‘X’ will work, but an image with name ‘X’ followed by a waypoint with name ‘X’ will fail, same with parent child relationships if you have waypoint ‘X’ as part of group ‘X’ it will fail. The easiest way to solve this is to make sure the waypoint names are unique.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants