how do i change cframes position? i have this script
local scframe = CFrame.new()
scframe.Position = v.Middle.Position + Vector3.new(g[2])
but it gives me this error
how do i change cframes position? i have this script
local scframe = CFrame.new()
scframe.Position = v.Middle.Position + Vector3.new(g[2])
but it gives me this error
CFrames are immutable. May I ask why do you need to do this?
To offset it globally add a Vector3 to it. To offset it locally multiply it by another CFrame.
Using 3 numbers or a single Vector3 in the CFrame.new() constructor gives you a CFrame with that as it’s position.
i need to make a saving system for my game, so it saves all items you have placed down on your base, and to do the only way to move a model is using cframes. there also is MoveTo(), but its glitched as hell