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"

Can't Get Relative Rotation of Spring Arm in 4.17 and 4.18

I just can't seem to get the relative rotation of the spring arm... no matter what the settings for Use Pawn Control Rotation and Inherit Pitch/Yaw/Roll.... are.... in 4.17 and 4.18

Checking on the forums... I see that other experienced users are having the same issue: https://answers.unrealengine.com/questions/698109/getting-relative-rotation-of-camera-boom.html#comment-698109-form and also

https://answers.unrealengine.com/questions/445235/potential-spring-arm-bug-in-4124.html

Product Version: UE 4.18
Tags:
more ▼

asked Nov 15 '17 at 11:20 AM in Bug Reports

avatar image

aNorthStar
938 8 17 20

avatar image Natalia Q ♦♦ STAFF Nov 17 '17 at 06:13 PM

Hello WhiteNorthStar,

Would you mind giving me some more information. If you can give me reproduction steps it could help me better assist you with this issue.

Thank you,

Natalia

avatar image aNorthStar Nov 18 '17 at 05:13 AM

hi Natalia... here you go... just using a simple character pawn (yes the character is a palm tree... just for fun) with the spring arm... in Play In Editor, however I rotate the spring arm with the controller, the relative rotation remains zero on all axis.alt text

avatar image marvelmaster Nov 19 '17 at 01:07 AM

Jupp I got same Issue and its not only the Spring arm...it appears that its all components that you can not get relative rotation from... please help us developers

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

10 answers: sort voted first

I'm sure Natalia is correct... it's but for some reason, the following RInterp setup works smoothly and prints out the relative rotation... I'm fine with it if it works. alt text

a.jpg (271.3 kB)
more ▼

answered Dec 10 '17 at 04:53 PM

avatar image

aNorthStar
938 8 17 20

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

Hello WhiteNorthStar,

After looking into this I found out that this is actually by design. A bug existed where it did rotate on all axis in previous engine versions, but that caused multiple issues with performance and not being able to make changes to the rotation.

That issue was fixed and the rotation stays at zero now, by design. I hope this clarifies any concerns and questions you might have relating to this. Please let me know if there is anything else that I can help you with.

All the Best,

Natalia

more ▼

answered Nov 21 '17 at 01:48 PM

avatar image

Natalia Q ♦♦ STAFF
565 2 3 3

avatar image aNorthStar Dec 02 '17 at 03:34 PM

thank you for confirming this Natalia... I understand, sometimes these things happen in the context of a bigger picture. It seems that "Set Relative Rotation" isn't working either (with Use Pawn Control Rotation set to on or off)... is this also by design?

avatar image Natalia Q ♦♦ STAFF Dec 04 '17 at 01:51 PM

Hello,

Is this similar to the issue you're having?: https://issues.unrealengine.com/issue/UE-46037

I'm having trouble understanding this second issue you're reporting. What exactly are you trying to do and what steps are you taking to get to this?

Best Regards,

Natalia

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

Alternative:

Get a world location camera vector

Get a world location SpringArm vector and get a world location Mesh vector: Plus Z components in a new Vector

With thoses Vectors( new Vector and World location Camera Vector) use a "Find Look at Rotation" node to have a relative SprinArm Rotation....

Good luck

more ▼

answered Feb 26 '18 at 12:56 PM

avatar image

pc-jose
11 1 3

avatar image aNorthStar Feb 26 '18 at 02:37 PM

@pc-jose... you know I think this might work, it's so simple that it's brilliant :)

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

answered Mar 01 '18 at 08:50 AM

avatar image

pc-jose
11 1 3

avatar image aNorthStar Mar 01 '18 at 10:06 AM

thank you @pc-jose... does this work with Use Pawn Control Rotation turned on in the Spring Arm component?

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

Yes... of course

more ▼

answered Mar 03 '18 at 11:45 AM

avatar image

pc-jose
11 1 3

avatar image marvelmaster Mar 03 '18 at 07:37 PM

this does not work for me this just gets the spring arm world rotation...not relative rotation...or am i doing something wrong?

avatar image marvelmaster Mar 03 '18 at 07:54 PM

omg I think I found the solution finally ...at least it works for me :Dalt text This converts the World rotation of the Spring arm to relative The output is the relative spring arm rotation.

avatar image pc-jose Mar 04 '18 at 02:59 PM

Thanks,,,i didnt know that Convert transform to Relative....it works for me too

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

so any alternative on using spring arm rotation then? q.q

more ▼

answered Nov 22 '17 at 09:28 PM

avatar image

marvelmaster
41 2 7 9

avatar image Kontur Nov 23 '17 at 02:56 AM

I would be interested in the answer as well!

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

Hi,

Maybe this will help you? link text

more ▼

answered Nov 25 '17 at 04:04 PM

avatar image

Kontur
186 6 10 15

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

This does not work for me...with this solution I can not turn my character using wasd [Click and drag to move] because Camera stays behind player 100%

AND

Linetrace from camera/springarm isnt possible anymore q.q because you can not get its rotation

more ▼

answered Nov 26 '17 at 03:27 AM

avatar image

marvelmaster
41 2 7 9

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

to answer my own question, I've been using Spring Arm components quite a lot in 4.18. It is now possible to use Get Relative Location, Set Relative Location and Add Relative location... but only if "Use Pawn Control Rotation" is turned off in the Spring Arm component settings.

more ▼

answered Dec 12 '17 at 10:47 AM

avatar image

aNorthStar
938 8 17 20

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

Hi,

I having a similar issue in third person. I use the same camera and boom settings as the third person template for exploration but then i try to lock the camera over the character's shoulder when aiming. The camera boom should keep the same rotation as the character, but seem to make a weird rotation, and the camera starts rotating on its own and doesn't stay at 0,0,0 like one would think it would.

Anyone with more camera experience than me could help me with that? I'm having this issue for weeks now and can't find an answer anywhere.

more ▼

answered Apr 09 '18 at 07:00 PM

avatar image

FredPoissant
48 4 9 15

(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