I've got a part I'm trying to select and move / rotate when it's clicked on. The moving the part, not so bad, I got that figured out. Now I'm looking to rotate the part, but not on its own local axis. I want to rotate it based on the camera's view. So for instance if you were looking at the part from above, and you used the WASD keys to rotate it, the W key would rotate it towards the top of the screen, S would be the bottom, A is the left, and D is the right. The same would be for if the camera is looking from any other angle. I think I at least have some Idea that it could be something to do with ObjectFrame and WorldFrame, but I am having issues figuring it out. Any assistance would be much appreciated!
Here's a code byte:
--rotate up
local rotation = object.CFrame*CFrame.fromEulerAnglesXYZ(math.rad(15),0,0)
movePartEvent:FireServer(object,mouse,d,rotation)
and since it's in a local script I have access to the mouse and the camera.
Mouse.Origin is a way I thought of going for referencing the camera's angle...

1 comment
I have a problem similar to yours if you find how to plz tell me I will do the same on my side!