As you can see in the gif my player is moving alone whenever when the mouse is locked with shift. It only occurs when the player is holding that sword. I tried setting the massless property of all the baseparts to true. I also changed their density and the weight of the density. Any idea?
By the way, a weld constraint is used so that the player can hold the handle of the sword.
Hmmmm. The thing is that I know the source of the problem, but I don’t really know how to fix it. I’m making it so the player is suppose to look at the mouse for slashing. I can’t give up that BodyGyro. I tried tweaking some properties, but I still got the same issue.
I think the problem is that you’ve put it in the lower torso instead of the HumanoidRootPart. LowerTorso is always moving due to animations, and this might be the problem.
Oh. It was HumanoidRootPart at first. I changed it for see what it would output with the torso.
I also noticed that it also happens when I’m not even equiping the sword. I tested without the sword and it still did that, but it was less noticeable.
I could only “enable” the Gyro when the player is clicking, but that’s still not really solving the bug itself. If someone has a suggestion let met know.
Ah, dumb me. I kind of figured out what happen. I’m using a BodyGyro to make the character look at my mouse, but the MouseLockSwitch is already taking care of the rotation. Dumb me.