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

[FEATURE REQUEST] Teleport movement with laser pointer #54

Open
nucleiis opened this issue Jan 4, 2024 · 5 comments
Open

[FEATURE REQUEST] Teleport movement with laser pointer #54

nucleiis opened this issue Jan 4, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@nucleiis
Copy link

nucleiis commented Jan 4, 2024

Thank you for UEVR, it is already great but adding teleport will make it greater because there are tons of people cannot overcome or adapt VR nausea.

Since most UE4/5 games use the same character movement component, I guess it would be quite possible to add some laser pointer which can be controlled via VR controller and event handlers overriding character position / rotation using raycast on the floor (i.e UCharacterMovementComponent::FindFloor).

For VR newbies, this will make UEVR much more comfortable and enjoyable!

@nucleiis nucleiis changed the title Teleport movement with laser pointer [FEATURE REQUEST] Teleport movement with laser pointer Jan 4, 2024
@praydog
Copy link
Owner

praydog commented Jan 4, 2024

@narknon thoughts? Do all UE games have consistent raycast flags that are always going to hit a surface correctly?

@praydog
Copy link
Owner

praydog commented Jan 4, 2024

Though if it is part of a FindFloor function for a built-in engine movement component that seems like it would work

@praydog praydog added the enhancement New feature or request label Jan 4, 2024
@narknon
Copy link
Collaborator

narknon commented Jan 9, 2024

I think FindFloor is more for directly under the movement component. Most games do use a child class of the UE movement component, but some don't so that may not always work.

I think the ideal setup would be either the projectile slope calculation function, two line traces for max tp distance then down to floor, or a single linetrace straight out from pointer if not doing a max distance option (having max distance feels like it would allow for better mods overall so you can't just tp across the map).

To check if it is a valid TP location you can check if there is nav data on the spot, though that should probably be a toggle for whether to check it or not because some games use weird custom nav.

@emile0909
Copy link

If implementing teleport is relative complex, I have some thought which is inspired by how VRChat teleports and I myself feel comfortable. VRChat teleport

We can have a key bind to switch between normal mode and teleport mode. When user is in teleport mode, if user pushes left joystick, the camera position freezes; if user releases left joystick, camera position doesn't freeze and then teleports to the new location.

I suppose this need less effort to experiment and we can see if user is satisfied with this work around.

@carlobs
Copy link

carlobs commented Sep 23, 2024

Unfortunately I don't use UEVR because I suffer from nausea without Teleport... so I hope this feature will open UEVR to many players

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

No branches or pull requests

5 participants