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 make VR pawn rotate around itself and not the origin?

Hey, I'm using thumbstick locomotion for a vr pawn and it's working ok, however if I step back from the sensors, when I turn (yaw) using the thumbstick, my pawn rotates around the origin center, which is really close to the sensors, instead of rotating around itself.

how do I fix this? here's my code:

alt text

Product Version: UE 4.22
Tags:
more ▼

asked May 09 '19 at 07:05 PM in VR

avatar image

fael097
13 1 5

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

1 answer: sort voted first

When you add actor world rotation, the target you are applying it to is "self." So where is this code located? If it's in the pawn's blueprint then you might want to check if you are in local or world space. If it is in the level, then you may actually be rotating the level instead of the pawn. I'd also look for addactorlocalrotation node. Check out this video, should be helpful for you. https://www.youtube.com/watch?v=Ce3-g7JuZq8

Also could you please answer my question, or if not could you up vote it so maybe someone does? https://answers.unrealengine.com/questions/895578/view.html

more ▼

answered May 09 '19 at 08:46 PM

avatar image

Kmart94
6 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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