This is a question that has been bothering me for a while now. I wanted to make a part face at the camera to make a little effect, and I thought I could do it using CFrame.

So, what I tried was multiplying the part's CFrame with the LookVector of the Camera's CFrame. Something like this:

Part.CFrame = Part.CFrame * CFrame.new(camera.CFrame.LookVector,0,0);

This didn't work at all and it ended up doing nothing I've searched the wiki and the scripting helpers site but I can't seem to find anything.

Does anyone know how to do this?

P.S. Sorry for my english mistakes, I am still learning English

2 comments

0

part.CFrame = CFrame.new(part.CFrame.Position, camera.CFrame.Position)