Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Can't move part 5 studs away from where i am looking?

Asked by 3 years ago
local meChar = game.Workspace:WaitForChild("ZOOP1015")

local part = Instance.new("Part")
part.Parent = game.Workspace


part.CFrame = meChar.HumanoidRootPart.CFrame.lookVector * CFrame.new(5,0,0)

1 answer

Log in to vote
2
Answered by 3 years ago

The issue may be because the part is falling through the baseplate when it is CFramed because you need to

part.Anchored = true

or

part.CanCollide = true

Ad

Answer this question