I have a BodyPosition attached to a part. The BodyPosition.Position is updated constantly.
It won’t move until at least a minute had passed.
No errors.
Nothing.
please help. i’ve been spending over 2 hours with this error.
1 Like
Can we see your script that is updating the BodyPosition?
Please may you provide us with the script you are using so we can provide some assistance.
1 Like
Sorry, I was really deseprate when I posted this. Here’s the code:
Local:
game.ReplicatedStorage.Moves.prismaSpawn:FireServer();
game:GetService("RunService").RenderStepped:Connect(function()
for __, prisma in pairs(workspace:GetChildren()) do
if prisma.Name == "prisma" then
prisma.BodyPosition.Position = player.Character.PrimaryPart.CFrame.p
end
end
--
end)
Server:
game.ReplicatedStorage.Moves.prismaSpawn.OnServerEvent:Connect(function(player)
for i = 1, 8 do
local prisma = game.ReplicatedStorage.Moves.prisma:Clone();
prisma.Parent = workspace;
local bodypos = Instance.new("BodyPosition");
bodypos.MaxForce = Vector3.new(math.huge, math.huge, math.huge);
bodypos.D = 800;
bodypos.Parent = prisma;
end
end)
The prisma
being cloned is a MeshPart, CanCollide and Anchored off.