Is there some way to detect if an object is within another object? Currently they are only detecting the collision when the sides of the objects touch. but most of the time one of the objects is completely within the other but they are not detecting collisions with each other. We are currently handling collision using the SAP version.
Are you sure to have set correctly the skin of the physics body with all "capsule,box,sphere" primitive needed?
User DebugDrawer to see the exact bound of the object.
Only if your trying to move the TriangleMesh, there intended for immovable objects only.
Going to need more info if it isn't that.
It is immovable. Say the Triangle mesh is the size of a 40, 60, 10 box and the capsule is only 1 unit high currently floating in the middle of the box, they do not send off collision to each other.
I think i miss understood what you asked.
Let me ask some questions.
Are you placing the capsule inside the box on purpose,and expecting it to get pushed out?
Objects aren't meant to be placed inside each other, however the box should "push" the capsule out, not something you should do on purpose though. If this is something you need for game play I'm sure there's a better way.
Is it it being used as some kind of Event object, which you use callbackFn(); ,but it isn't being called?
Can you show the code which you use to create/use the objects.
Are you trying to make an inside out box?
You should make the walls of a cube out of boxes, if you want to be inside one.
I am using the box as a boundary I don't expect them to be pushed out because in HandleCollisionDetection I have it return false. but the fact that they are touching at least doesn't even get to HandleCollisionDetection.