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"

Getting an incorrect relative rotation?

I'm making a door for my VR project. At the moment I can grab the door handle and rotate the door by moving my hand. But you can rotate the door full 360°, which obviously is not what I want. So now I'm trying to make the door to stop rotating when it's relative rotation is > 100° or < 0°. But I'm having real problems trying to get the relative rotation of the DoorMesh. When I'm tying to get the relative rotation of the DoorMesh, for some reason it seems to return me the world rotation of the door. So for example, if I rotate the parent of the door 43° the door relative rotation will show 43° too. Why is this happening? Shouldn't the relative rotation be always 0° if it's set to 0°? No matter what it's parent world rotation is set to.

alt text

Product Version: UE 4.19
Tags:
untitled-1.jpg (705.8 kB)
more ▼

asked Apr 09 '18 at 08:02 PM in Blueprint Scripting

avatar image

JANTSUU
44 8 7

avatar image Al Ananias Apr 09 '18 at 08:21 PM

Just to confirm, when you click on the triangle in front of "Rotation" you have "Relative" selected, not "World", right?

avatar image JANTSUU Apr 09 '18 at 08:40 PM

Yep, it's set to relative.

(comments are locked)
10|2000 characters needed characters left

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