(click on gif if it doesnt open)
And as you can see the c4 is weirdly placed when I tried to place it onto a wall, I’d like to rotate it. Does anyone know how I could do it?
I’m not asking for code, but rather for “the way” it can be done.
Ty for answering <3
If you use raycasting, you could cast a ray from your camera to your mouse’s position, and use the surface normal from the result to set the rotation for the C4 using CFrame.