Quote from: ultidonki on May 30, 2022, 10:34:33 PM
Hopefully that helps if you haven't already fixed it.
Nope, I never fixed it. I've been addressing other aspects of the project while waiting for potential feedback/input about this.
Quote from: ultidonki on May 30, 2022, 10:34:33 PM
Anyway, I've found a workaround that will hopefully do what you want:
Change the line:Code Selectfunction jumper_found():
toCode Selectfunction jumper_found(self, object):
self will be the custom_entity, and object will be the same as your object variable - you won't need to assign it, just delete the 'object = get_facing_entity()' line.
I worked this out from reading the docs on set_can_traverse, it mentions that the function you assign can take 2 parameters, the entity and the one you're colliding with.
Hopefully that helps if you haven't already fixed it.
Thanks for the workaround! This method seems to be working. I will know for sure once I start adding other interactions for other entity types using a similar method.