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"

Chartacter rotation stuttering when mouse button down

I am developing a top down shooter and I am having trouble with my character rotation stuttering while I'm shooting with a mouse button. Basically when ANY mouse button is down my character will start jittering (rotation only) instead of doing a smooth rotation.

I posted here a while ago and suspected it might be related to the dynamic navmesh I have: https://answers.unrealengine.com/questions/153934/horrendous-mouse-lag-in-packaged-game.html

I never really solved it and have just been hoping new engine releases would fix it, not really happened so far. I have found the issue appears (ever so slightly) when building from the top down shooter template.

Steps to replicate:

  • Create new project - blueprint top down (Also desktop / scalable 3D or 2D / no starter content are selected)

  • Open up topdowncontroller blueprint, delete all in the event graph then create the graph below.

  • TopDownController

  • Play in new window, the character should look where the mouse is pointing on screen.

  • Now here's the problem: minimise the editor in the background so you just have your game window on top of the desktop. Then move the mouse around in game with any mouse button held down and you notice a slight stutter but its all fine and smooth when nothing is held down.

Tried packaging my game (both development and shipping) and the problem is still there

Product Version: UE 4.8
Tags:
bp.png (200.2 kB)
more ▼

asked Jun 24 '15 at 08:45 PM in Bug Reports

avatar image

Lazy Games
51 6 8 12

avatar image Ben Halliday STAFF Jun 24 '15 at 09:13 PM

Hi Lazy Games,

I followed your instructions but was unable to reproduce the problem. Does this only occur if you minimize the editor? Can you make sure you don't have anything else running on your PC when this occurs? And can you send me your dxdiag, please? Thanks!

avatar image Lazy Games Jun 25 '15 at 09:24 AM

Minimized, yes. But it also occurs in my packaged game. I tried packaging the top down example too however the problem doesnt occur there. It is much more apparent in my own project. Even when I close everything down so unreal is the only thing running it's still the same results.

DXDIAG

dxdiag.txt (32.0 kB)
avatar image Lazy Games Jun 25 '15 at 08:33 PM

Today I reinstalled the engine and rebuilt the game from a new project. The issue still happens with the PIE, but it is fixed when playing standalone and when I package it so it works fine on the end result which I'm happy with. I guess it half solves the problem anyway.

avatar image Ben Halliday STAFF Jun 27 '15 at 06:36 PM

Hm, still can't reproduce this in a new project. If you'd like, I can take a look at your project and see what might be causing it, but if you're happy with the current state we can leave it be. If you want me to look at it, upload the project somewhere and get me a download link. Just let me know!

avatar image Lazy Games Jun 29 '15 at 05:56 PM

Here is my project file (mostly stripped down). Project I've also done a video to show whats going on when mouse button is held down vs no button. youtube

You can see the player is stuttering with a mouse button held down, it doesnt happen so much if the enemies are taken out. Unfortunately in my game i wish to have loads of them so when I test the gameplay it just becomes unplayable, especially when aiming accuracy is so important.

avatar image Ben Halliday STAFF Jun 29 '15 at 07:53 PM

Thanks! I took a look at your project, but still can't reproduce. I don't see anything about your hardware leaping out to me as the cause, but I would recommend trying this out on another system and/or with a different mouse to see if either is causing the problem.

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

1 answer: sort voted first

Hi Lazy Games,

I haven't heard back from you in a while, so I'm resolving this post for tracking purposes. Please let us know if you're still experiencing this issue on a different system and/or with a different mouse, and we can continue investigating. Thanks!

more ▼

answered Jul 06 '15 at 05:30 PM

(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