Camera Pawn movement defect after servertravel
I'm working on an RTS-style game with an invisible camera pawn which can be moved over the map either by arrow buttons or screen scrolling.
My problem is that whenever I enter the map via servertravel, the camera can only be moved in two of the four directions, whereas it can still be moved freely in all four directions, when I open the level with the regular openlevel command.
It only happens, as long as I have the sweep - option ticked. When I untick sweep, the camera can move in all four directions again, but I'd like the camera pawn to collide with the map boundaries, which it doesn't if sweep is disabled.
I use addActorLocalOffset to move the camera, but the same problem occurs with addActorWorldOffset or if I directly set the destination location with sweep enabled.
asked Jun 16 '17 at 10:04 PM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here