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"

CCD vs non-CCD Performance/Collision Issues

I have a physics-based mobile project I'm working on. If anyone has ever played the milkcaps/POGs game, you'll understand the game dynamics. Two people put in an equal amount of milkcaps/POGs into a stack (usually 20). Each player has a slammer and they take turns trying to flip over the milkcaps.

I have the gameplay pretty much completed, except for a couple of issues I've been trying to iron out.

Video: Non-CCD Sample clip

I have CCD turned OFF for both the stack and the slammer (red object). I have "multi-body overlap" and "trace complex on move" turned ON for all stack objects and the slammer. However, after throwing the slammer, it will end up going through most, if not the entire stack below. Performance and reaction wise, it works really great, just that it goes through the entire stack.

Video: CCD Enabled (Slammer-Only) Sample clip

I have CCD turned ON for only the slammer (red object). "Multi-body Overlap" and "Trace Complex on Move" are also still enabled on both. It doesn't go through the stack anymore, but it pancakes the stack more often than not and partially ruins the gameplay.

Video: CCD Enabled (Stacked Objects-Only) Sample clip

I have CCD turned ON for only the stacked objects on the ground. "Multi-body Overlap" and "Trace Complex on Move" are also still enabled on both. With this the slammer still goes through the stack more often, but it pancakes the stack to the point the game isn't playable.

Video: CCD Enabled (Slammer and Stack objects) Sample clip

I have CCD turned ON for both the Slammer and each stacked object below. As you can see, the performance goes way down to the point of it being unplayable. The stack just completely pancakes below the slammer and it renders the the gameplay completely useless. "Multi-body Overlap" and "Trace Complex on Move" are also enabled on both.

Here are all of my other collision settings for both object types (disregard CCD settings in image and view videos above to see how the different CCD settings affect the game).

Anyone have any ideas on what I could do?

alt text

Product Version: UE 4.18
more ▼

asked Mar 04 '18 at 09:41 AM in Blueprint Scripting

avatar image

31 1 3 9

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

0 answers: sort voted first
Be the first one to answer this question
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