Hello i have a question how do i make it so an object can hit another object?
example:
if (this.hits(object2, object3)) {
//code
}
but when the character hits object3 it doesn’t work
im new at coding and im experimenting it on wick editor
thanks for passing by