3D physics messages

I’m messing around with a 3D project, but the way the physics messages behave seems to be very different from what the manual says (and how they work with 2D physics). I’m wondering if these are actual bugs, or if the 3D side of things is just undocumented.

collision_response
I’m getting this message every frame when two objects’ AABBs intersect, not just when their actual shapes intersect.

contact_point_response
I’m getting this message every frame for trigger bodies, not just dynamic and kinematic bodies.

trigger_response
I’m only getting this message between two triggers or a trigger and a dynamic body that is not sleeping. It also happens when the AABBs intersect, not just the actual shapes.

1 Like

Thanks @ross.grams. We’ll have to look into this and get back to you. Ping @JCash

2 Likes

I haven’t looked into why this is yet. I think it’s just because our 3D physics is not very battle tested.

I think all 3 cases are bugs actually.
The last one though, might be bullet3d related, but I’d have to look into it some more.
Added issue 4946 for this.

1 Like