I'm creating a shooting game where when the bullets hit the wall, they spawn on the wall.

Right now I'm having trouble cframing the angle.

If a bullet hits a wall rotated slightly then I want it to be angled the way the wall is angled too. Any help?

I was thinking possibly CFrame.new(Position,Wall.LookVector) and then based on the cross/dot product i could know where it's facing and then rotate it based on that.