How do I turn a movement direction into a raycast direction?

trying to get a projectile to explode once a raycast hits something but I’m having an issue getting the movement direction.

1 Like