free-language / box2d

Automatically exported from code.google.com/p/box2d
0 stars 0 forks source link

Dynamic body contact with moving kinematic causes wild velocity #130

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create one dynamic body and one kinematic body
2. Set the linear velocity of the kinematic body to be in the same 
direction as gravity
3. Have the dynamic body fall due to gravity onto the kinematic body

What is the expected output? What do you see instead?

Expect to see the dynamic body contact with the kinematic and fall at the 
same rate.  Instead, the dynamic body contacts then continues to increase 
linear velocity far beyond the velocity of the kinematic

What version of the product are you using? On what operating system?
Box2D 2.1.3
Windows 7
Visual Studio 2005

Please provide any additional information below.

Test case attached

Original issue reported on code.google.com by jason.po...@gmail.com on 16 May 2010 at 12:35

Attachments:

GoogleCodeExporter commented 9 years ago
Disabling TOI in testbed "fixes" the problem

Original comment by jason.po...@gmail.com on 16 May 2010 at 12:37

GoogleCodeExporter commented 9 years ago
Seems fixed. However, it shows the infinite loop problem well if a box gets 
under the platform.

Original comment by erinca...@gmail.com on 16 Aug 2010 at 6:15

GoogleCodeExporter commented 9 years ago

Original comment by erinca...@gmail.com on 29 Aug 2010 at 7:15