I have been working on a simple (Very simple) game. Basically: You play a ball, and have to get it through a maze. Now there are walls, and if you hit them, you are supposed to be resetted to your original position.
Now my problem: To change the environment, i have several instances all named 'wall'. But only the one I first placed works with the hittest. I can just move through the other ones.
If you have multiple walls setup like this, you'll need to look through all the walls and hittest them... you'll need to rename them to wall1, wall2 etc then ofcourse.
I move the walls instead of the character. This is something I got from a tutorial. Don't know why actually.
Now the problem is fixed. The hitTest works, but not how it is supposed. Another problem has come up: Instead of doing nothing, it now hits the wall, and the wall appears totally on a different location.... If you don't know what I mean, I can show it on teamviewer.