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"

Collisions Between Spheres Causing Unexpectedly Dramatic Framerate Drops?

I have a set of actors that consist of a spherical static mesh with simulated physics on and a C++ component that pulls the actors together, as they might with gravity in space.

The behavior of the level is something like the following:

  1. I spawn 27 spheres.

  2. The spheres start to move toward each other, FPS stable at 70-90 in editor.

  3. The spheres eventually reach each other, forming a bigger ball, and FPS plummets to 20-30.

  4. The spheres will begin to spin and some will be ejected, others will reach a semi-stable orbit around the larger mass of spheres that were closer to the center. As this happens, frame rates jumps back up to 50-60.

I was not expecting sphere collisions to hamper performance that much. Can someone explain to me why this is happening or how to best go about exploring the issue? Is there a way to improve the performance?

Product Version: UE 4.10
Tags:
more ▼

asked Apr 03 '16 at 10:09 PM in Using UE4

avatar image

calembendell
447 36 39 67

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

1 answer: sort voted first

This is an issue with the PhysX engine and not with Unreal Engine having to do with multiple contact collisions. There is not a generic solution to the problem, so a custom solution must be made.

more ▼

answered Jul 18 '16 at 07:14 AM

avatar image

calembendell
447 36 39 67

(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