Detect the type of collision object collided with

is there any way to detect what type of collision object a collision object is colliding with (kinematic, static, dynamic, etc.) inside of the on_message() function. e.g. so you could program it so a collision object will only collide with certain types of collision objects. Thanks in advance.

Sorry, forgot to set the topic.

This is what groups and masks are used for, but there is no way to get the type of a collision object that is involved in a collision.

1 Like