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 Relative Rotation of Camera Boom

In version 4.16 it was possible to get the relative rotation of the camera boom, like so:

alt text

It was an easy and reliable way to rotate things relative to where the player is looking.

Now, here is the problem, since version 4.17 the relative rotation is always 0 0 0 (or 0 90 0 depending on what the parent is). They seem to have changed how the camera rotates around the player / how the camera boom rotates. So, what I need is the rotation of the camera boom relative to the player, but I can't figure out how to get my hands on the rotator. Any Idea how to receive the rotation the "view direction" relative to the Player Character?

Product Version: UE 4.17
Tags:
more ▼

asked Aug 20 '17 at 02:17 PM in Blueprint Scripting

avatar image

Aphermion
151 3 5 6

avatar image JuliCas Sep 04 '17 at 08:37 PM

Same problem here. It was so simple before...

avatar image aNorthStar Nov 15 '17 at 11:08 AM

I'm having the same issue with 4.17 and 4.18... no matter how I set (Use Pawn Control Rotation, Inherit Pitch/Yaw/Roll)... I'm fairly sure this is a bug. In my setup (especially with camera lag and rotation lag set to ON) I don't think the workaround is suitable...

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

1 answer: sort voted first

I think I have found a workaround by getting the control rotation of the player character instead. Other suggestions are still appreciated of course.

alt text

more ▼

answered Aug 20 '17 at 02:33 PM

avatar image

Aphermion
151 3 5 6

avatar image JuliCas Sep 04 '17 at 08:37 PM

This workaround may work, thank you...

avatar image aNorthStar Dec 05 '18 at 02:06 AM

Sorry, but I think that Player Control Rotation is quite different from Spring Arm Relative Rotation... I'd be happy to be proven wrong though.

(comments are locked)
10|2000 characters needed characters left
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