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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Smooth camera rotation when dealing with Use Pawn Control Rotation?

Hi, i am making a game in first person using the third person template. When the character is rolling from a fall i uncheck the Use Pawn Control Rotation to give the camera a more realistic rotation, but when i am not rolling i keep it checked. This also creates a visual problem, as the camera snaps to its world rotation from the head's and is not a smooth one, making it look awful. Is there a script to get and interpolate the camera rotation? Looking forward to your reply!

Product Version: UE 4.13
Tags:
more ▼

asked Nov 18 '16 at 10:18 AM in Bug Reports

avatar image

Xanadron
18 18 21 26

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

1 answer: sort voted first

Hello Xanadron,

I would suggesting using a time line to to lerp between the two positions or to try setting the camera lag up higher during the transition to smooth things out. I hope that this information helps.

Timeline Docs:

https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/Timelines/

Camera lag Docs:

https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/UsingCameras/SpringArmComponents/

Make it a great day

more ▼

answered Nov 18 '16 at 01:53 PM

avatar image

Rudy Q ♦♦ STAFF
47.4k 545 132 524

avatar image Xanadron Nov 18 '16 at 04:48 PM

Thanks for the answer, unfortunately i couldn't resolve this with neither of them. I would like to ask you if this script exists in the Content Example maps? If not, could i be provided with a visual representation of this? Many regards.

avatar image Rudy Q ♦♦ STAFF Nov 21 '16 at 08:04 PM

You could try using a Lerp (Rotator). One thing to keep in mind when using a lerp is that the alpha only uses numbers from 0-1. I have provided an example below.

Example:

In this example I have three variables "Starting Rotation", "Ending Rotation", and "Alpha". You will need to set Starting Rotation and Ending Rotation with the two rotations that you would like to lerp between. The Alpha will need to be set to increment from 0 to 1 or 1 to 0 (depending on what direction you will want it to go).

![alt text][1]

(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