Hi, I am trying to make a game where you create a siege engine that you try to get to the end of the level.
I am trying to make it so I can design engines in the level editor, and I might eventually add custom engines.
The behavior I am working on right now is supposed to put a revolve joint between self (a wheel) and any boards it is on top of. It does this by creating a region, around self, and then checking for each actor of type structure, if actor of type is inside region, create the joint.
The problem is with the "if actor is inside region" block, but I don't know how to fix it. Does anyone know what's wrong?