My character don't have any wall collision? After CFrame changes

I am using a custom camera system, so I need to manage the character angle.
I made this code:

--hrp is HumanoidRootPart
--a_Y is the angle Y
hrp.CFrame = CFrame.new(hrp.Position)*CFrame.Angles(0,math.rad(a_Y),0)

All works except that when i touch the wall, he doesn’t count as collision so i can walk through wall.
Any solution?

Hello,

Try this code:

hrp.CFrame *= CFrame.Angles(0,math.rad(a_Y),0)

Thank you ! Now i can continue my game!