I have two questions
---------------------------------------
first of all:
I'm trying to create an obstacle out of an active object instead of a backdrop.
The problem is that the obstacle doesn't stop the character's movement completely. I dont know how to explain it, but half of the obstacle actually stops the character's movement, but the character can go through the other half of it as if it didnt exist.
----------------------------------------------------------
Also at the same time I'm trying to create an ability that when the player presses a key on the keyboard like "ctrl", they turn invisible and can walk through walls.
I tried to set it up so that the alterable value of the character is always 0, THEN when the player presses the "ctrl" key it adds 1 to the character's alterable value.
When the character's alterable value is 0 the character is visible and shouldn't be able to go through walls, but when the character's alterable value is 1 the character turns invisible and should be able to go through walls.
I tried pasting the active object obstacle to the background, which works in stopping the movement of the character, but then I couldn't get the character to go through the wall when activating the invisibility ability.
But it doesn't work. I feel like I tried everything.
How do you make an active object into an obstacle? and how can you make it so that when you press a key, the character turns invisible and can go through walls?