Snap part to wedge angle and keeps rotation

so i’m trying to make a part fit on the wedge angle and keep its rotation

I already searched and found this topic below:

now i can put the part on the wedge cframe but the rotations are the same like the imagem bellow:


but i want to make something like this:

part before being snaped to wedge face


after

right click then select align dragged objects. make sure it has the check icon

1 Like

im trying make this for a script

can’t you just set the part’s cframe to this

part.CFrame = part.CFrame * CFrame.Angles(0,0,0)

i found this topic that helped me