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"

Components moving away from their position

This is a difficult one to explain with words.alt text

On the right there's my player capsule, but the camera and spotlight "broke" and moved away from it to 0,0,0 (or almost 0,0,0). During runtime I do have control over my character, but the camera stays there.

Here's the components window: alt text

This also happens with another character. It has 3 sphere colissions that are supposed to be on a fixed relative position to the mesh, but I have to update their relative position on Tick() or they'll move away too. I'm using UE 4.20.3

EDIT: I forgot to mention that on another maps everything works as intended

Product Version: UE 4.20
capture.png (1.5 MB)
capture2.png (21.8 kB)
more ▼

asked Dec 11 '18 at 01:51 AM in Using UE4

avatar image

29 7 12 15

avatar image aNorthStar Dec 11 '18 at 01:58 AM

the first thing I'd check is that your camera compontnt is actually being used... UE4 has a habit of spawning an extra free camera in the level... it's easy to check, when you launch scroll through the inspector window to see which camera is being used. Or else in your Player Char BP or Player Controller BP just Set View Target With Blend and set the Target to Player

avatar image RainbowCookie32 Dec 11 '18 at 02:06 AM

The camera component is being used. I managed to get it back in place by moving it from the level. I don't know what causes this though. I already saw a similar situation with my Enemy character, the sphere collisions I had around it would also move to 0 unless I keep them in their place using the Tick

avatar image aNorthStar Dec 11 '18 at 02:12 AM

You might have a large invisible object in your level, with collision turned on... which is pushing everything with collision about the place.... sounds weird... but I've seen it happen...

avatar image RainbowCookie32 Dec 11 '18 at 02:24 AM

Not the case, I was able to move it back to place in the level editor and it works as intended. The level is basically empty since it's a test level. I'm just wondering what causes it, since it also happened with the other character on another map

avatar image aNorthStar Dec 11 '18 at 02:27 AM

bizarrely interesting... do make a comment if you ever figure out why :D

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

0 answers: sort voted first
Be the first one to answer this question
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