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"

I need a camera that moves with my actor but does not rotate with it!

I have been trying to create a camera that follows my character. my character does turn 180 degrees in the game to go the other direction. unfortunately every camera style that i have tried as ended up turning 180 degrees with the character? does any one know of a way to keep the cameras rotation stationary so that i can create this side scroller?

Product Version: Not Selected
Tags:
more ▼

asked Nov 05 '14 at 07:20 PM in Blueprint Scripting

avatar image

FedoraGuyGames
6 3 4 5

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

3 answers: sort voted first

Did you try setting the Camera rotation absolute? Ie in your spring arm's settings, make sure the Rotation is given is Absolute NOT relative. This will keep the camera rotation constant.

You can switch between Absolute and Relative by clicking the label in older version of Engine. In latest versions, this options is given explicitly.

more ▼

answered Nov 06 '14 at 03:07 AM

avatar image

mindfane
3.4k 154 52 271

avatar image FedoraGuyGames Nov 06 '14 at 04:17 PM

Thank you it seems that what i was doing wrong was i wasn't unchecking the inherit "Pitch" "yaw" and "roll" so even though it was absolute they were inheriting the rotations for some odd reason? either way it is working now thank you!

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

Select your Spring Arm component and then enable Use Pawn Control Rotation in the details panel.

more ▼

answered Nov 05 '14 at 07:26 PM

avatar image

Jacky
16.8k 671 167 677

avatar image FedoraGuyGames Nov 05 '14 at 07:47 PM

So first i all i could find was "use controller view rotation" which i assume is the same thing, however, it locked the camera behind my character and it still rotates 180 degrees with the character?

avatar image Jacky Nov 05 '14 at 07:50 PM

This:

alt text

springarm.jpg (31.7 kB)
avatar image FedoraGuyGames Nov 05 '14 at 08:01 PM

Okay yes. so in the version of unreal that i am using, "use pawn control rotation is renamed. but that doesnt really matter because i have tried that and it doesnt work. the camera still rotates with the character and the camer is stuck behind the character.alt text is there a way to create and external camera blueprint away from the character blueprint and have it move separately? an external camer like this?alt text

capture.jpg (82.2 kB)
capture2.jpg (70.9 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users
more ▼

answered Jan 15 '17 at 10:15 AM

avatar image

soulpsq
46 1 7 8

(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