I’m new to scripting (more of a builder) so please go easy on me.
I want to rotate a mesh using CFrame but its off centered somehow. I imported it from blender and on blender, the mesh was centered to the 3D cursor like this:
local fan = script.Parent.fan
while wait() do
fan.CFrame = fan.CFrame*CFrame.Angles(0, .05, 0)
end
How do I create a custom pivot point using CFrame to center the mesh? Google points me to setPrimaryPartCFrame but I’m not sure how or where to code it in. I’ve tried remodelling the mesh but it’s always off centered on studio.