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"

4.13.1 Spring arm camera forward vector jitter

Hey there,

I am experiencing problem with some jiterry forward vector of camera I have on spring arm for my third person game. Even without any input to camera controls, forward vector jitters when pressing left and right controls of my character which have enabled orient rotation to movement. If i turn the orient rotation to movement the jitter dissapears (but I want it enabled).

Ingame camera itself is without any jitter, but I am using the forward vector for line trace and it gives me bad results. The issue seems similiar to this thread, but it was already marked as resolved. Any chance the bug reappeared? Or some ideas how to fix/work around it?

Thanks a lot

J. alt text alt text

Product Version: UE 4.13
Tags:
jitter1.jpg (374.3 kB)
jitter2.jpg (209.1 kB)
more ▼

asked Oct 01 '16 at 10:56 PM in Bug Reports

avatar image

jakub.vavrik
1 1 2 4

avatar image Rudy Q ♦♦ STAFF Oct 03 '16 at 05:01 PM

Hello jakub.vavrik,

I was unable to reproduce this issue on our end. I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?

  2. If so, could you provide a detailed list of steps to reproduce this on our end?

  3. Could you provide screen shots of any other blueprints/settings that may be involved?

avatar image jakub.vavrik Oct 03 '16 at 05:31 PM

Hey Rudy,

I am able to reproduce it by starting new project from third person template by adding the same blueprint part as I have in my project (see below) and moving the spring arm bit higher so it is above characters head.

Everything else is clean template, and when I compile and play the level in new editor window, I get the result from screenshot when I hold the "W" and rapidly alternate the "A" and "D" keys.

You can clearly see the trace is jumping from side to side and in my opinion it should be countinuos zig zag line.

Thanks for looking into this :)

J.

alt text alt text alt text

jitter3.jpg (370.4 kB)
jitter4.jpg (304.4 kB)
jitter5.jpg (305.9 kB)
avatar image jakub.vavrik Oct 03 '16 at 05:34 PM

Oh and this is how it looks when i turn off the "Orient rotation to movement" in Character movement options. Seems okay to me like this. alt text

jitter6.jpg (268.6 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

After further investigation this is working as intended. What you are seeing is a result of the quick change in rotation given to the pawn when using the arrow keys. However, I have provided an example below that I believe will provide the desired result and could be a viable solution depending on your needs. I hope that this information helps.

Example:

In this example I have unchecked Orient Rotation to Movement. This will allow me to rotate the camera and the mesh separately.

alt text

Here I have set up the actor to rotate based on the way that the camera is looking.

alt text

Here I have set up the mesh to rotate based on the direction of movement.

alt text

Make it a great day

more ▼

answered Oct 03 '16 at 07:57 PM

avatar image

Rudy Q ♦♦ STAFF
47.4k 545 132 525

avatar image jakub.vavrik Oct 03 '16 at 08:53 PM

Thanks a lot :)

(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