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"

Spring Arm rotation goes WILD!

Hey everyone :) I have a setup to rotate my springarm for the camera on my pawn in 45° steps. The setup is a modified version of the "smooth zoom" that you can find in the Stategy Game Example. The camera does indeed smoothly rotate whenever I press the left or right key, but as soon as the rotation angle goes below -180 or above 180 it just spins wildly and doesn't stop until I go back inside the range it accepts.

Does anyone know why it does that? I did not change any default settings on the spring arm component itself btw.

Here is my setup: alt text alt text alt text

Thanks a lot for any help on this :)

Product Version: UE 4.14
Tags:
rotatewild1.jpg (175.0 kB)
rotatewild2.jpg (176.4 kB)
rotatewild3.jpg (166.7 kB)
more ▼

asked Jan 21 '17 at 11:08 PM in Blueprint Scripting

avatar image

Blue669
261 29 39 54

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

1 answer: sort voted first

I'm here to answer my own question ;)

It seems FinterpTo does not work well with rotations and therfore Rinterp exists. After switching the interpolation method to the new one, everything rotates fine and nothing goes haywire! Here's the change that goes in place for the FinterpTo from my setup:

alt text

rinterp.jpg (128.7 kB)
more ▼

answered Jan 25 '17 at 09:58 AM

avatar image

Blue669
261 29 39 54

(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