Why is this bug happening?

Im making a game inspired by “jojo’s bizarre adventure” and this bug kept happening while trying to make the stand system

https://www.youtube.com/shorts/m4DgiIbIQZQ

The player moves slow when walking and fast when turning. Also, the player moves when shiftlocking even if they are trying to stand still. All parts in the stand are massless and have no cancollide

Sorry, i would like to make a correction. The parts are not massless. When I make them massless, the player starts moving very slowly.

2 Likes

Exactly how did you attach the stand to the player? And is can rotate true?

There is an invisible part is attached the players humanoidrootpart and the invisible part is attached to the stands humanoidrootpart. The stand is offset to make it look like its floating behind you.

Try using align position instead. The position set will always be relative to the player rather than the world so it would work fine. Also, is that part inside the HRP also massless and cancollide to false?

This happens because either, the stand has mass, in which the center of mass causes the player to rotate or just explained above from the suggestions.

(so maybe try setting the mass of the stand all by 0)

This happens because you’ve welded a part to the player character. If you’ve tried enabling massless on the part that you welded to the player and that doesn’t solve it, you can try using CFrames to position the stand instead of welding it. Do avoid using unanchored / unwelded parts or rigs as this is easily exploitable and can just randomly break because roblox physics is kind of bad. Also avoid welding entire characters to another character as this usually causes issues because of conflict with the two humanoids.

How do I change the center of mass? When I set it to massless, the player cant move.

just set every part of the stand set to massless true

or either make a system where it aligns your position offseted instead of welding it directly to the human

I managed to fix it… somehow? I had to fix a problem with the “primarypart”

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.