![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Bacon_Gb12 |
Im making a skeleton that speeds up if a raycast hits the player. and im trying to make the raycast flip when it hits a wall:
if is_on_wall():
$PlayerDetector.position.x *= -1
it doesn’t work and I don’t know what else to try. it worked for a different raycast and I don’t know why its not working for this one