|Topic was automatically imported from the old Question2Answer platform.
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:
$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