So lets say I have:
local part = script.Parent
while wait(1) do
part.CFrame = part.CFrame + Vector3.new(0,0,1)
end
Now I understand this will make the block move on the Z axis. However, I also understand this will make it move on the Z axis **even if the block is rotated**. So in a sense, I would like to know how to make a block move "forward", a direction that supposedly moves a block in the direction of its front surface, and even when rotated will keep moving in the direction of its front surface. Is there some function I can use? is there a property hidden in the block that would make this work? Please comment if you need a clarification. All answers appreciated, thank you.
~Xduel

1 comment
thanks for asking this question