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"

Camera rotation broken in PIE(SIE) mode after "eject" when mouse is not hidden

Hello. After updating to 4.11 version of engine when I lunch PIE(SIE) mode and for debug reason want to see on the scene something from different than game camera angle I click Eject but editor's viewport camera don't want to rotate while I am holding RightMouse.

I did some investigation and found in SceneViewport.cpp that some code in function:

FReply FSceneViewport::AcquireFocusAndCapture(FIntPoint MousePosition)

preventing reaction on holding right mouse if mouse cursor set to visible.

Actually code execution cant get into this branch:

 if (bCursorHiddenDueToCapture || !bShouldShowMouseCursor)
         {
             ReplyState.CaptureMouse(ViewportWidgetRef);
             ReplyState.LockMouseToWidget(ViewportWidgetRef);
             ReplyState.UseHighPrecisionMouseMovement(ViewportWidgetRef);
         }

For clarify: in FirstPersonShooter projects this branch works well(because mouse typically hidden). But for strategical type games, as we developing - mouse is visible, so bShouldShowMouseCursor will be "true" and editor's camera will be broken.

How to reproduce:

1.Create new Puzzle project C++(maybe blueprint ver is enough), not FPS.

2.Begin Play in Editor(any variant).

3.Click "Eject"

4.Now Camera will react only to wasd+qe while holding rightmouse.

Relative question link(which not marked as bug report): https://answers.unrealengine.com/questions/398548/cant-look-around-with-camera-after-eject-from-play.html

Product Version: UE 4.11
Tags:
more ▼

asked Apr 11 '16 at 09:21 AM in Bug Reports

avatar image

nynjed
25 3 7 10

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

1 answer: sort voted first

Hello,

I have been able to reproduce your issue, and have entered a bug report (UE-29313). Thank you for your report. I will provide updates on this issue as they become available.

Have a great day

more ▼

answered Apr 11 '16 at 05:02 PM

avatar image

Sean L ♦♦ STAFF
43.9k 485 152 440

avatar image ClaudioPiccinni Apr 18 '16 at 09:21 AM

Hi Sean, I'm having the same exact problem. Are there any news/workaround? Thanks.

avatar image Sean L ♦♦ STAFF Apr 18 '16 at 12:51 PM

Hello,

It looks like this issue has been resolved internally, and the fix should be available in a later version.

Have a great day

avatar image Schepetkov Feb 27 '19 at 11:46 AM

Hi, I can reproduce in "Twin Stick" template. 4.21.1

avatar image Schepetkov Feb 27 '19 at 11:48 AM

create blueprint project

(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