Fisica FBlob Mass/Collision Issues
in
Contributed Library Questions
•
2 years ago
Hi all,
I'm having a bit of trouble with FBlob objects in the fisica library at the moment. I've got an FBlob in the world that collides with other objects without any trouble (FBox, FPoly, etc), and can have force and rotation applied to it using the appropriate methods.
However, when it's touching an object, isTouchingBody(FBody) is returning false, and using a lot of the getters are returning numbers that make no sense (getX and Y are both returning 0, when the coordinates are width/2 and height/2), and getMass() is also returning 0.0, despite the fact that isSensor() and isStatic() both return true. I've also double checked that the FBlob and the other objects are in the same group, which they are, and collisions seem to work fine between the bodies in the world, it's just not being recognised.
Is this a known issue with FBlobs? It's presenting some difficulties, as what I'm doing requires me to formally detect collisions between the FBlob and other objects in the world, as well as get and set the X and Y coords of the FBlob.
2