Okay, so here is a part of the code
<b> print(sen.hitObject)
if (sen.hitObject == "Wall"):
print("check")</b>
It does print the sen.hitObject (In this case it’s Wall (that is what the console says so that should be correct))
but if I try to use it straight after:
if (sen.hitObject == “Wall”):
print(“check”)
it doesn’t give me a check in the console
Which is odd, because it just determined that sen.hitObject is indeed Wall.
So I’m very confused.
Please help
Greetings,
H34DhUnT3r