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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Relocating object bugs working code

Okay, not entirely sure that this is where my question should be posed, and I also appologize if somebody else has posted a question of this topic, but I was not able to find anything.

So the scenario is this:

We have a server and a client. The server pretty much does everything. When starting the game, we force the client to use a seperate camera as view (this works). The server can then manipulate where the camera rotates to.

Now, the problem is, that when testing this (having the server and the external camera close to eachother), it actually worked perfectly, but(!) when moving the external camera to where it is supposed to be located on the scene, the client still gets the view of this camera (as it should), but the camera does not move anymore when server tries to manipulate it.

We tried to make a new project, in which we only had a few objects (a floor the sky and so on), and in that project, it did not matter that we move the external camera at all, ergo, something in our project must be wrong, but we cannot figure out what it is.

We have an idea that it may have something to do with either the post process volume, the fog or perhaps the blocking square that we have limited our scene with. This is because the moment we move the external camera up and out of these boxes, the server stops being able to manipulate the external camera.

We really don't have a clue to why this is, and even tried to create both a blocking square and the post process volume at the location of the external camera, but this did nothing.

Help would be much appreciated :)

Product Version: UE 4.8
Tags:
more ▼

asked Nov 24 '15 at 09:28 PM in Everything Else

avatar image

LisbethLR
1 1

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

1 answer: sort voted first

So we found the solution. It turned out that the manipulation of the camera was done through "SetWorldRotation", which worked on the bottom, but not the accturate location, but when changing this to "AddWorldRotation"/"AddLocalRotation", everything worked!

It still does not make any sense though.

more ▼

answered Nov 25 '15 at 12:41 PM

avatar image

LisbethLR
1 1

(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