I think this might just be the 3rd bug I’ve encountered this week. First I run into a bug where particles don’t display on Roblox Studio. Second I literally crash every time I go in play test. Okay now these 2 bugs were annoying however the only fix was to disable beta features that Roblox has provided me with.
Now… Answer me this Roblox why in the world does this not work? Before you tell me “Enable Massless Property” this has been done. It’s just not scripted in.
local Drill = game.ReplicatedStorage.Objects.Drill:Clone()
Drill.CFrame = Root.CFrame
Drill.Parent = game.Workspace.VFX
print(Drill) -- works tested
local BodyPosition = Instance.new("AlignPosition")
BodyPosition.Mode = Enum.PositionAlignmentMode.OneAttachment
BodyPosition.MaxForce = 10000
local Attachment = Instance.new("Attachment")
Attachment.Parent = Drill
BodyPosition.Attachment0 = Attachment
BodyPosition.Position = Root.Position -- doesn't move it at all... even with a bodyposition
BodyPosition.Parent = Drill
print(BodyPosition, BodyPosition.Parent) -- this works too
In this script I spawn a MeshPart from the objects folder named Drill. I then parent it into workspace, and add an AlignPosition / BodyPosition into it (I tried both). It spawns the drill, but it does not move it to the desired location.
I printed BodyPosition, and the parent. It prints ‘BodyPosition, Drill’. So we know it’s working, but when I spawn the drill it falls through the map and disappears into the void. WHY IS THIS?! WHY ROBLOX WHY!!!