So I'm making a platformer featuring both wall jumping and ceiling cling (similar to that of donkey kong country returns)
I've made two separate gadget blocks one intended for wall jumping off of and one intended for the user to cling onto.
My wall jump conditions & commands are the button you press and "Collided with another gadget" (i dont mind if wall jump is used off of cling blocks)
The wall jump mechanic works great.
The problem is my cling mechanic
The conditions for my cling mechanic are the button you hold, "Collided With another gadget" and A switch which needs to be turned on called "cling switch"
In my gadgets tab for the cling gadget I have ON check under the "flick switch on/off tab" and OFF on the wall jump gadgets.
This works sometimes but half the time the animation occurs when the user contacts the wall jump gadget and doesnt even work against with the cling gadget.
Whats a better way to set this up?
I've made two separate gadget blocks one intended for wall jumping off of and one intended for the user to cling onto.
My wall jump conditions & commands are the button you press and "Collided with another gadget" (i dont mind if wall jump is used off of cling blocks)
The wall jump mechanic works great.
The problem is my cling mechanic
The conditions for my cling mechanic are the button you hold, "Collided With another gadget" and A switch which needs to be turned on called "cling switch"
In my gadgets tab for the cling gadget I have ON check under the "flick switch on/off tab" and OFF on the wall jump gadgets.
This works sometimes but half the time the animation occurs when the user contacts the wall jump gadget and doesnt even work against with the cling gadget.
Whats a better way to set this up?