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"

Move actor lag

I'm trying to implement a simple "Move actor under the mouse cursor" behavior. What I noticed that it does not seem to be "instant", it has a small delay when I move the cursor and the actor follows it (especially when moving the cursor fast). You can see a similar behavior in the Content Examples/Blueprint Mouse Interaction level, if you hold down the left mouse button over a sphere and move the mouse.

Has anyone else noticed this? Maybe the cause of this is that the tracing is too costly operation? Do you know any tricks / workarounds, or implementing it in c++ would reduce this lag?

I also tried to package the project and see if it only happens in PIE, but it's not the case. My PC is also quite strong so I don't think it's a performance issue either.

Product Version: Not Selected
Tags:
more ▼

asked Oct 05 '14 at 11:21 PM in Blueprint Scripting

avatar image

tszucs
29 3 5 9

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

1 answer: sort voted first

It's most likely because camera ticks before the actor, you can fix that by change tick group, problem is you can only do that in C++, but it's not that hard, heres instructions how to do that:

https://answers.unrealengine.com/questions/64822/variable-priority.html

One note use "override;" insted of "OVERRIDE;" if you use latest UE4. code is little outdated

more ▼

answered Oct 06 '14 at 12:17 AM

avatar image

Shadowriver
35.2k 921 166 1098

avatar image tszucs Oct 06 '14 at 09:06 PM

Thanks, I've got it working! :)

(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