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 get an actor rotator in other actor relative coordinates?


I want to rotate the ring with the hand. The hand is attached to a VR motioncontroller and can be 2 hands in scene (left and right)

The ring is parented to the Extinguisher.

alt text

So, i need to transform the delta rotation of the glove (comparad to previous tick) to ring local coordinates, and add it to only one axis to the ring.

This way doesn´t matter how i rotate the hand for pick the ring and the position of the extinguisher, because if i pick the extinguisher with one hand (and with motioncontroller the position/rotation will get minimal changes at least even if i try to stay still), the second hand needs to be capable of rotate the ring.

The approach that i tried first was the quaternion way. getting the delta and transforming it to relative . But didn´t work in blueprint. I tried a lot of combinations but look like is not making the final transform.

alt text

There is a better way for work with quaternions? or maybe there is another approach for get the same result?


Product Version: UE 4.17
more ▼

asked Sep 14 '17 at 06:55 PM in Blueprint Scripting

avatar image

1 1 2 4

(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