#How to move a part relative to its rotation
1 messages · Page 1 of 1 (latest)
** You are now Level 6! **
part.CFrame *= CFrame.new(0, 0, -STUDS_FORWARD)
Or:
part.Position += part.CFrame.LookVector * STUDS_FORWARD
What you're describing is called "object space". CFrames are designed to operate with this space
what if i want it to move left and right
part.CFrame.RightVector
as for left
-part.CFrame.RightVector
if you want to do that in studio you can press ctrl + l to swap between world space and relative to object