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"

Convert World Rotation to Relative Rotation

hi folks... I have a standard Spring Arm Component and child Camera Component setup on my player Character. I'm getting the Camera Component to rotate to focus on a Camera Target.

This is of course very easy to do with FindLookatRotation, Absolute Rotation and Set World Rotation.

But I'd like to get the same result by using Set Relative Rotation instead... I've seen suggestions using Delta Rotator and InverseTransformRotation, but I'm not getting either to work right. Any ideas please?:)

alt text

Product Version: UE 4.22
Tags:
more ▼

asked Apr 03 '19 at 03:56 AM in Blueprint Scripting

avatar image

aNorthStar
1k 8 17 20

avatar image aNorthStar Apr 03 '19 at 01:20 PM

ok... I think I figured out the issue...

The Inverse Transform Rotation BP node works just fine, it was the way I was using it was causing some kind of feedback/feedforward jittering: kind of calculating it and then resetting it simultaneously (I'm not sure what this is called)

To get around it, I put a scene component in the same location and used it's transform and rotation instead. It seems to be perfect... but if someone who is more skilled than me would please confirm I'm right, it would be a relief :)

alt text

answerithink.jpg (271.4 kB)
(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