Anchored part without velocity moving player

What is the issue?
A meshPart that is anchored and has all assembly velocities set to (0, 0, 0) is moving my player’s character when it’s not suppose to do that.

All the other meshParts touching the gun and player are also anchored and without any velocities.

This bug has been happening for a while with all kinds of different meshes, but this is the first time I’ve remembered to record it.



I personally think this might be a bug with the engine as the only script in my game that modifies the parts is a script meant to optimize the game by anchoring any parts that don’t move for a while and also removing any assembly velocities on them.

if roundCFrame(part.CFrame) == v then -- remove from table and anchor
			part.Anchored = true
			part.AssemblyLinearVelocity = Vector3.zero
			part.AssemblyAngularVelocity = Vector3.zero
			lastPositions[i] = nil
		else -- update last pos
			lastPositions[i] = roundCFrame(part.CFrame)
		end
2 Likes

Tried to copy the meshPart into an empty baseplate to inspect it further, but the bug disappeared when I did that.

1 Like

Another video of it happening, this time not inside studio.

1 Like