x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to stop cursor from following camera in VR?

When you move your head with a VR headset, the cursor "follows" your head which results it wonky cursor click detection on 3D UMG's.

I actually understand the cursor isn't "following" - the opposite happens, where the cursor is staying in place on your HMD's position. I'm having a hard time making it stay in place in 'world space'. Is it possible to "leave" your cursor outside of your monitor's render screen? I'm not too good with that concept.

Basically I have a spherical screen surrounding myself, with 3D UMGs floating about. I can summon the cursor and click on buttons; in VR, I make the mouse visible by drawing a small sphere exactly 100 units from the cursor's position (cursor world position + world direction*100). Without VR, it presses UMG's exactly where it should. With VR...sometimes its offset to the left/right, sometimes its accurate (why does this happen?). But mostly importantly, it "follows" where your head turns, making dragging 3D UMGs in world space a bit funky. Sometimes I want to hold on to a 3D UMG in place while I look elsewhere, without dragging it with me. Is there any way to do so?

Product Version: UE 4.10
Tags:
more ▼

asked Jan 12 '16 at 10:16 AM in VR

avatar image

michaeleeli
60 8 12 17

avatar image jeffym85 Feb 28 '16 at 06:14 PM

I too would like to figure this out. At this point I'm experimenting with canceling out the "mesh cursor" movement when the head is moving by using the HMD orientation and position data on event tick.

avatar image michaeleeli Apr 01 '16 at 08:35 AM

I'll probably try that too. Would appreciate if anyone could give insight on this, I'm working on a 2 year solo project that's almost done but this is the last thing that's blocking me from finishing it =(

avatar image n00854180t May 07 '16 at 05:18 AM

Bump, this still seems to be a big issue with being able to properly work around not being able to emulate the mouse in VR in 3D widgets.

avatar image spychiatrist May 14 '16 at 06:22 PM
avatar image gozu Jul 01 '16 at 01:34 AM

Those are great solutions, that's how i do it, i have 3 options, cursor from mouse, cursor from hmd, or cursor from motion controller.

Doing a cursor from mouse though i get the same thing, it "follows" the hmd so its a bit useless that way. My pawn is set to not use control rotation, even tried set to not lock to hmd, and i still get that.

Im guessing, that makes sense and you just cant do it unless you locked the rotation of your camera.

Best beat is really to trace from either the HMD, like in that link, or from the motion controller (done the same way)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question