Hi there,
I need the object to be kinematic or static and able to detect when the player is in contact with it.
! func _integrate_forces(state):
for i in range(state.get_contact_count()):
var cc = state.get_contact_collider_object(i);
print("picks collision ", cc);
if (cc != null && cc is preload("res://scripts/player2D.gd")):
cc.doDamage(damage);
The kinematic object script never triggers when a contact happens.