Archive 17/01/2023.

Physics: Overflow in AABB, object removed from AABB :(

miz

I saw that this was an issue at some point in 1.5, not sure if it is related, I’m getting it with 1.6 only on Raspberry Pi and not consistently. Happening when my player node collides with another object. Any ideas what this could relate to?

miz

It seems it may have been linked to setting restitution to 0 (something that didn’t work anyway Bouncing still happening even with restitution set to 0)

After setting restitution to 0.1 I’m no longer getting the same problem.

miz

Actually it’s happening again! Must be something else causing it

hdunderscore

Mind giving more details about the issue? You getting a crash or ?

miz

I don’t get a crash, the game stays open but the RigidBody gets removed and I can’t move the player Node as a result. It happens on colliding with other collision boxes but only very occasionally and unpredictably. It seems to happen only when my player is sprinting (this only changes the velocity [3.2 vs. 1.92]) but I’m not sure whether that is just a coincidence at this stage.

It’s quite basic movement - I only move the player by using SetLinearVelocity() and this is always just left, down, right or up.

Still trying to find a pattern to narrow it down a bit more.

All collision objects are boxes, no complex shapes.

hdunderscore

Seems strange that a RigidBody component would remove itself, I’d have to see a small example of the problem. Any chance to share some code?