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"

Player Camera resets

For some reason my camera always resets to the head of my character, even though that area is never specified as a camera.

Here is my camera/ player in the viewport: alt text

Then, once the characters is procedurally spawned, at the start of the game and is possessed by the player controller the camera resets to this:

alt text

This is right in the head of my character, it's not as if the camera is moving or anything. This happens when I use an external camera too.

*This happened after I had removed the default camera from the character, set it to an external camera with code, saw that the same thing was happening and then re-added the camera, but still results in this issue......

Product Version: Not Selected
Tags:
capture.png (127.2 kB)
capture2.png (788.1 kB)
more ▼

asked Oct 18 '15 at 10:56 PM in Using UE4

avatar image

ShrewGlue
409 97 83 106

avatar image ShrewGlue Oct 19 '15 at 08:33 PM

Someone please help.

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

3 answers: sort voted first

This was happening because of the possession.

You cannot possess and set view target together.

more ▼

answered Oct 25 '15 at 02:20 AM

avatar image

ShrewGlue
409 97 83 106

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

There may be some problems 1st check auto activate check box on this camera. then if you are using custom script on this camera check if there is not mistakes and after this set this camera as default camera after posses.

more ▼

answered Oct 24 '15 at 07:03 PM

avatar image

kubiknubik
336 17 3 17

avatar image ShrewGlue Oct 24 '15 at 08:14 PM

Auto activate is on. It should be on right?

Not errors in compiling.

How do Is"set camera as default camera after posses"?

avatar image kubiknubik Oct 24 '15 at 09:24 PM

Set target view with blend. and 1st parameter is player controller and second is camera reference.

avatar image ShrewGlue Oct 24 '15 at 10:30 PM

Still gets reset.

It works for a second but then resets back to between the soldiers.

alt text

capture.png (146.8 kB)
avatar image kubiknubik Oct 24 '15 at 11:09 PM

Problem is Set view target with blend, because you are setting target actor. so it means this script sets actors position to camera. So use simple activate function alt text

camera.png (135.8 kB)
avatar image ShrewGlue Oct 25 '15 at 12:16 AM

It still doesn't work; "set view target" does what I want, but then a second later teleports again.

Activating the camera does nothing.

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

any fix for this?

more ▼

answered Sep 28 '18 at 04:14 AM

avatar image

sujeshjastee
1 1

(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