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"

Certain features don't work reliably at lower frame rates

Here is the scenario:

I have a character who shoots projectiles from a gun, and I have windows that can be broken by these projectiles.

At a high frame rate, the projectile breaks the window effortlessly.

At a low frame rate, the game will occasionally fail to detect an overlap between the window and the projectile. I assume this is because the game only counts hits/overlaps at exactly every given tick/frame, but the movement from one frame/tick to another is not taken into consideration.

I find this interesting, because I have never experienced this in any published game that I have played, so I assume there must be a way to consider hit detection between ticks/frames.

Now, of course the best solution is always to optimize the game so that it never runs at a low frame rate, but I think it's a hugely important failsafe to have, so that a low frame rate doesn't necessarily break the game.

Is there a way to solve this in UE4, or in game engines in general?

Product Version: UE 4.20
Tags:
more ▼

asked Mar 05 '19 at 09:16 AM in Blueprint Scripting

avatar image

BTDarmstad
5 1 3

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

1 answer: sort voted first

Hey there. First thing I'd try is enabling CCD on one or both of your colliding objects. However this comes at an increased CPU cost so if you're worried about that you can instead try changing the tick groups of the actors.

more ▼

answered Mar 05 '19 at 04:18 PM

avatar image

duderseb
503 2 9 7

(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