Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to force mass on a player character?

Asked by 5 years ago

Is there a way to force a mass on a player character, so when a tool or equipment etc are added in the character the mass stays the same ? If so how to do it ?

For example giving a mass of 20 and something 30 mass worth is added it keeps the mass at 20.

0
You might want to try the new Massless property on baseparts if your tool is made of one. I never used it though so it might be a good time to check. Rheines 661 — 5y
0
Sum the initial mass of a character and store it as xm. Store all original parts of the character in the table xs. Sum the changed mass of a character and store it as ym. Set the density of parts in xs to (ym - xm) / xm. Something along those lines should work. fredfishy 833 — 5y

Answer this question