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"

Incorrect restitution behaviour

I set up a simple bouncing ball scene in the latest Unreal Engine version (4.7.3), with the ball and ground both having a restitution of 1. The expected behaviour would of course be for the ball to keep bouncing to the same height each time, however, this is not the case as the ball simply continues to reach a greater height on each bounce. Curiously, a similar demo I set up in the Unity 5 exhibited similar behaviour, which might mean that it is a bug in PhysX. As the attached GIF also shows, the ball eventually spins out of control, although this is something which did not occur in Unity. Are there any workarounds/fixes for these issues? Imgur

Product Version: Not Selected
more ▼

asked Mar 23 '15 at 11:15 PM in Bug Reports

avatar image

1 1 1 3

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

2 answers: sort voted first

I'm afraid this is expected behavior. A game physics engine like PhysX is designer to give plausible and stable results, but not necessarily accurate ones. When the ball penetrates the ground, a force is calculated to both change the velocity, and resolve any penetration. This can result in a small gain in energy. If you want perfectly elastic, ballistic objects, you may need to build something custom, a bit lit our projectile movement, which never allows penetration.

more ▼

answered Mar 25 '15 at 09:38 AM

avatar image

1.3k 8 8 32

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


Thank you for reporting this. I've tested this on 4.7.3 with PhysX 3.3.1 and our latest internal build which was recently upgraded to PhysX 3.3.3 and the issue is persistent across both. I've submitted a ticket for an engineer to take a look at this. For your reference the ticket # is UE-12469.

When a solution has been found I will update this post with any relevant information.

Thank you!


more ▼

answered Mar 24 '15 at 06:59 PM

avatar image

Tim Hobson ♦♦ STAFF
48.8k 888 103 879

(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