BaseItem.physics.on_collision_enter method
Handles the start of a physics collision between this item and another item.
To remove the handler, pass null
for handler
.
Parameters
-
handler: Callable[[t: BaseItem], None]
passes
BaseItem
which this item collides against.