Search Issue Tracker
By Design
Votes
1
Found in
5.2.2f1
Issue ID
738772
Regression
No
[Colliders] The Collision.impulse sometimes returns incorrect values
Steps to reproduce:
1. Open the attached project
2. Open 'scene'
3. Press play
4. Ensure that drawing gizmos is enabled, so that debug lines can be seen
5. Watch as the cube slides along the rail, the cube will either slide off the end of the rail, or hit the rail, bouncing the cube in the air
6.1. If the cube collides with the rail, there will be debug lines draw at the point of the collision
6.2. If it doesn't collide, the cube will reset, giving it another chance to collide
7. When it collides there is a chance that the Collision.impulse direction (green lines) doesn't match the direction of change in velocity caused by the collision (blue lines). If this happens, a message is displayed to alert you (in magenta), and the cube won't be reset, so that the bug can be better seen
Note: This will usually take 3 to 4 times of the cube resetting to produce this bug. If you wish to reset after the bug occurs, press 'Space'.
Reproduced with: 5.2.0f3, 5.2.3f1, 5.3.0f1, 5.4.0a2
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Play Mode Scenario selection/highlight is too long and out of its bounds when the Play Mode Scenario window is opened after maximizing
- Duplicated groups and incorrect grouping in UI Builder when using UxmlElementAttribute: libraryPath
- Asset name is not shown in the Undo History window when a sprite is modified
- Moving a Tab to a floating window fails when floating windows are docked next to each other
- Crash on UNITY_FT_Render_Glyph_Internal when Generating Font Atlas in the Font Asset Creator Window
Add comment