Odd behavior with AlignPosition

make sure to have


shift lock turned on and press shift to lock the camera

I am not experiencing the same thing at all.

robloxapp-20220814-1143012.wmv (1.4 MB)

If there’s no way to fix this, I’m open to any other ways you could recommend to make a part follow a player

It only happens when shiftlock is on, it works perfectly fine when it’s not

1 Like

I see what you guys are talking about now

you could set the alignposition to one attachment mode and then update the position in heartbeat

Roblox bug fixed.rbxl (35.8 KB)

local character = script.Parent

local part = game.ReplicatedStorage.Part:Clone()
part.Parent = workspace

game:GetService("RunService").Heartbeat:Connect(function(deltaTime)
	part.AlignPosition.Position = (character:GetPivot() * CFrame.new(-6, 0, -5)).Position
end)
1 Like

The issue is with Humanoid’s AutoRotate property. Disabling fixes the issue. You can try adding a script that make sthe char face the direction of the camera

This seemed to do the trick, only issue is the same behavior occurs with AlignOrientation, but I’ll apply the same thing here and see if that works. Thank you very much.

yup you would have to also do the same for AlignOrientation set it to one attachment mode and set the cframe in the heartbeat event

would be nice if roblox staff see this bug and change the humanoid to rotate the character back to the correct orientation before things like AlignPosition and AlignOrientation do there thing

2 Likes