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