Open jammees opened 10 months ago
After trying to find out why the problem occurs I decided to turn off QuadTrees. After that I had ran the same simulation and noticed that the body did collide with the ground but the ground's rigidbody is not as big as the frame itself but rather the screen's widht.
Noticed that collisions suddenly stop working and bodies start going through each other if they are outside of the viewport.
Reproduction Steps
Collidable
andAnchored
and is positioned in the center of the screen and has a size ofUDim2.new(3, 0, 0, 50)
Collidable
and hasKeepInCanvas
set to false and is positioned atUDim2.new(0.99, 0, 0, 0)
Expected Behavior
Rigidbodies should always have collisions no matter if they are visible on the screen or not
Actual Behavior
Rigidbodies go through each other
Media
Scene file:
https://github.com/jaipack17/Nature2D/assets/86011536/eaffea2b-7287-45dd-9424-1dfb7a21c62c