Open RobertSzaszak opened 1 year ago
https://github.com/finepointcgi/Godot-Horror-Game-GD/blob/dbab84c6eaeedbf0bbfafe2a9ea6425830d6ef3b/Scripts/Enemy.gd#L110
For some reason the checkIfBehindWall() function does not seem work. I get false as a result every time.
checkIfBehindWall()
Also, I am not sure what happens with the behindWall boolean inside the isSoundLoudEnough() function. I am not sure how is that bool used.
behindWall
isSoundLoudEnough()
https://github.com/finepointcgi/Godot-Horror-Game-GD/blob/dbab84c6eaeedbf0bbfafe2a9ea6425830d6ef3b/Scripts/Enemy.gd#L110
For some reason the
checkIfBehindWall()
function does not seem work. I get false as a result every time.Also, I am not sure what happens with the
behindWall
boolean inside theisSoundLoudEnough()
function. I am not sure how is that bool used.