Contact_point_event vs. contact_point_response

Following up on a Discord discussion, it looks like the position given in contact_point_event is different from that in contact_point_response:

ContactPointResponse.zip (5.0 KB)

I’d like to use physics.set_listener(), but I’m geen to get the contact point position, rather than the collision object position. Still unsure if the position given by contact_point_event is by design, or if I’m missing something?

2 Likes

Yes, in the contact_point_response, the contact point itself is the main subject:

position
world position of the contact point (vector3).

whereas the contact_point_event returns a single event, where each point is the position of each object:

position
vector3 The world position of object A

I agree that it’s not great to not report the local point of the collisions.
Please feel free to report an issue!

2 Likes

With pleasure, sir!

2 Likes