I have a RigidBody in 3D that has two collision shapes. Once the body reports contacts, say against a StaticBody like a platform, how would I detect which shapes are making contact?
I'm doing this within integrateforces()
So I can get the objects, but I can seem to find what is available from there to resolve which shape is making contact.
func _integrate_forces(state):
var contacts = state.get_contact_count()
if(contacts > 0):
for i in range(contacts):
get_something(i).i_hit_this_shape()???
I'm overlooking something... Can anyone kindly point me to a method for this kind of query?