How do you rotate an Object without Rotating Raycast

Currently I have a ball, and the raycast that I have shoots downwards, but when I move the ball the raycast starts rotating. The raycast is meant for jumping, and I don’t have any solutions.

Just use -Vector3.up for the raycast’s direction, this will use world coordinates and thus be always aligned with the world y-axis (downward, in this case).