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"

Trouble fixing character and camera rotation in third person

Hi guys!

I'm building a third person shooter with an exploration camera position

exploration camera

and an aiming camera position.

aiming camera

When the character is in exploration, the camera behaves mostly like the third person template, but when the character is aiming, it then uses a blend space to strafe left and right. Everything works fine so far, except that when I am aiming, the camera is not fixed in position over the character's shoulder in a way that, if I rotate far left or right, the camera ends up being off, even left of the character at some point.

aiming camera wrong side

It's probably something I have to turn on or off in the camera boom's presets but I can't find why. My objective here is to keep the boom and the camera in the same starting relative position to the character as when the aiming begins.

Product Version: UE 4.19
Tags:
more ▼

asked Apr 04 '18 at 01:01 AM in Blueprint Scripting

avatar image

FredPoissant
48 3 6 11

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

1 answer: sort voted first

To change my camera position, I was using a timeline that would change the spring arm's target offset. Wrong procedure, that is what was making the weird rotation happen. Instead you have to modify the socket offset's values. Same values, different outcome!!

more ▼

answered Apr 09 '18 at 07:32 PM

avatar image

FredPoissant
48 3 6 11

(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