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

ParabolicLineCast's maximum length is dependent on rotation #89

Open
bddckr opened this issue May 19, 2018 · 0 comments
Open

ParabolicLineCast's maximum length is dependent on rotation #89

bddckr opened this issue May 19, 2018 · 0 comments
Labels
bug Something isn't working w_bug waffle.io label

Comments

@bddckr
Copy link
Contributor

bddckr commented May 19, 2018

The current parabolic pointer implementation (ParabolicLineCast) inherits the existing problem with the bezier pointer cast. Images courtesy of @thestonefox.

Normal cast:
image

Limited cast:
(Down doesnt reach floor so not valid target)
image

Simply angling the forward cast beam down means you can now reach the floor
image


There is an open bug for this issue:
ExtendRealityLtd/VRTK#1288


No viable solution as of yet, but here's some ideas:

  • Maybe it relies on rotation of beam? Or always does a forward beam in world forward for working out viability of the downward length?
  • Don't limit the downward beam. Instead you limit the forward beam and infinitely cast the down ray, then cast a 3rd ray between origin and down rayhit, and that 3rd ray is what you limit?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working w_bug waffle.io label
Projects
None yet
Development

No branches or pull requests

2 participants