Ray Cast to move with rotation

Can ray cast please move with rotation? It’s pretty annoying to have an object rotate then have to switch the angle of the ray cast. And If I have a ray cast at 0 and then switch it to 90-degree rotation it won’t get the space in between that either which is kinda annoying. Idk if this isn’t implemented because it would cause lag in the games somehow, or if in most cases this would be a problem, but idk.

extract rotation → angle


I thought of that, but for some reason, it didn’t work in my head. That should work fine, idk what I was thinking.