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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Can I set different Bounce Threshold Velocities for different Physics Materials?

I have balls colliding with one another on a surface. I want the balls to bounce off each other even at very low speeds, so I have set the global Bounce Threshold Velocity to a low value. However this is causing undesired bouncing between the balls and the surface. Is there a way to set Ball-Ball bounce threshold to one value and Ball-Surface bounce threshold to a different value? The balls and the surface have two different physics materials applied to them.

Product Version: UE 4.18
Tags:
more ▼

asked Feb 14 '18 at 11:07 AM in Using UE4

avatar image

jonnybolton42
12 2 4 7

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

1 answer: sort voted first

You should be able to set the restitution/ball bounce threshold to be very low for the surface, and very high for the ball if they both have separate physical materials :)

Does that answer your question?

more ▼

answered Feb 14 '18 at 11:30 AM

avatar image

CupMcCakers
66 2 4 5

avatar image jonnybolton42 Feb 14 '18 at 11:37 AM

If I set the restitution of the surface material to 0.0 (with combine mode set to Min) the balls are still visibly bouncing on the surface for some reason.

avatar image CupMcCakers Feb 14 '18 at 02:15 PM

Just brainstorming here as I don't have unreal open at the moment, but what happens if you try a negative value equal to the positive value of the ball?

avatar image jonnybolton42 Feb 14 '18 at 02:21 PM

No dice. Restitution is clamped between 0.0 and 1.0

avatar image CupMcCakers Feb 14 '18 at 11:52 AM

Also, could you try restoring the Global bounce threshold to it's default value, setting the surface restitution to 0, and the balls much higher?

avatar image jonnybolton42 Feb 14 '18 at 11:59 AM

Doing that does stop the bouncing between the balls and the surface, but it also means that the balls do not bounce off of each other at low velocities, which is the behaviour that I require.

(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