You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Collisions between the edges of rectangle shapes are obviously wrong. An object falling and being stopped by an edge can't have a normal pointing to one side (in the X axis). All movements and shape edges are parallel to axes. In this case, any object stopping another object from falling has to be floor and have a normal pointing up.
In the example project, the floor isn't detected at first for several frames, then it starts being detected. It stops the object from falling from the start though.
Steps to reproduce
Try the MRP with "visible collision shapes" on to be able to see anything. Run the project and see the movement of the objects in the window and the messages in the console output.
Setting the safe_margin to the lowest value 0.001 seems to be working. It still detects a collision but the calculated normal is correct and the object can keep moving along the edge.
It remains to be seen why the engine doesn't decide if it's a floor and the correct normal with a higher safe_margin.
Tested versions
System information
Debian GNU/Linux 12.5
Issue description
Collisions between the edges of rectangle shapes are obviously wrong. An object falling and being stopped by an edge can't have a normal pointing to one side (in the X axis). All movements and shape edges are parallel to axes. In this case, any object stopping another object from falling has to be floor and have a normal pointing up.
In the example project, the floor isn't detected at first for several frames, then it starts being detected. It stops the object from falling from the start though.
Steps to reproduce
Try the MRP with "visible collision shapes" on to be able to see anything. Run the project and see the movement of the objects in the window and the messages in the console output.
Minimal reproduction project (MRP)
collision_normal_test.zip
The text was updated successfully, but these errors were encountered: