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"

Fix Camera to the actor

Hello world,

I'm working on a prototype for a side scrolling arcade shooter and need some help with the camera's viewing angle.

I have a pawn actor that moves over a circular track but i just cant seem to get the camera view adjusted right. I made a video to help better describe the situation.

Youtube : link with annotations enabled

The pawn components are as below.

alt text

Basically, i would like to have the camera view pointing towards the game arena at all times but as seen in the video, that's not happening.. Any suggestions/help to fix it would be really help a lot.!

Product Version: UE 4.8
more ▼

asked Jan 27 '16 at 11:28 PM in Using UE4

avatar image

85 9 10 15

avatar image hellwitu Feb 16 '16 at 08:08 AM

Pretty much done with the basics for the game but i still haven't been able to resolve the issues with the camera..

i was thinking about having the camera removed from the 'PlayerBP' and moved into a new 'CameraBP' which responds to the player movement inputs..

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

1 answer: sort voted first

Managed to figure it out..

While turning the pawn in the opp direction i was using 'set actor rotation'. This caused the entire actor (along with the attached SpringArm/camera) to rotate. Instead, i have now used 'set relative rotation' on the static mesh component and applied a 'set world rotation' on the SpringArm to get my desired output..

alt text

Now that its done, i realize the purpose for the different kinds of rotations out there.. :)

rotate ship.jpg (190.9 kB)
more ▼

answered Feb 16 '16 at 11:33 AM

avatar image

85 9 10 15

avatar image hellwitu May 18 '18 at 02:55 PM

Greetings World,

Thought its only fitting to end this post with a demo of the game.

Gameplay Demo: https://youtu.be/3t2sm5VZjv0

On another note, this forum obviously has a lot of skilled pros and enthusiasts around.

It would be wonderful if you could share your thoughts/feedback for me to work on.

(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