Im developing a Blockate fangame and im trying to make it that you can place blocks that move off of the surface the user moves their mouse on, and this works perfectly fine with blocks that arent rotated, but putting your mouse on a rotated block causes it to move off on the wrong vector. I know why this is happening, but I dont know how to fix it.
Could you provide a screenshot/video of how it is currently working and what the expected behavior is? I theorize Mouse.TargetSurface is correct, but that the implementation of positioning blocks might be off.
You know why it’s happening, so please tell us why. We can’t suggest much for a script we can’t see.
Are you CFraming ToWorldSpace, or ToObjectSpace?
As @Wingtips suggested, maybe put a decal on each side indicating the Orientation of the Part so you can see exactly what’s going on.
2 Likes