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"

Camera attached to Pawn isn't able to rotate.

Hello all,

I'm having issues with my camera component. I'm working on an Top down(It's actually angled) dungeon crawler. I'm trying to make it so on right click and drag the camera will orbit the player completely. The only way it works right now is if the Pawn Constraint is clicked on the camera and spring arm, and when that happens the camera is stuck in a fixed angle looking straight ahead. I've looked all over the internet to try and fix this and I haven't found anything.

The camera is a child of the spring arm component and the spring arm is a child of the pawn.

I'm still learning so if there is more information that you need please don't hesitate to ask for it. I would very much like to solve this problem. Thank you! alt text

Product Version: UE 4.10
Tags:
camera.png (710.4 kB)
camera details.png (34.5 kB)
more ▼

asked Jan 30 '16 at 10:27 PM in Everything Else

avatar image

xRoci
7 2 2 8

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

2 answers: sort voted first

Try changing "use pawn control rotation", there shoul be a setting on both the springarm and the camera that affects the camera behavior, but im not in from of my pc now, so can't remember.

If you have a MovementComponent, there are also a "Use controller rotation-something" setting.

more ▼

answered Jan 31 '16 at 10:08 PM

avatar image

Jonas_Molgaard
481 28 24 46

avatar image xRoci Feb 01 '16 at 12:30 AM

My camera rotation script won't work without that ticked. I'm assuming there is no other way to have it angled down towards the character if the pawn control rotation, because it orients the camera the same way as the pawn. Is there something else I could do?

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

Can you make a similar camera with a similar cameraspring, that you position on top of the original topdown camera, and then on rightclick, switch to the alternative camera where you will do the swing. When released, then interpolate back to the original camera?

more ▼

answered Feb 01 '16 at 07:29 AM

avatar image

Jonas_Molgaard
481 28 24 46

(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