When you apply a LinearVelocity instance to a Part’s attachment, if this Part’s massless property is set to false, it will behave as if it has mass. Even if it’s not the root part of an assembly.
Below is a rbxl file that can replicate this issue:
Place1.rbxl (58.4 KB)
Instructions:
- Draw your attention to two identical sets of assemblies connect by a spring constraint. Pay additional attention to two parts with the brick material. Each are completely the same. Both have their massless property set to true. The only difference is that the right part has an attachment which has a LinearVelocity being applied to it. Please note that the LinearVelocity’s MaxForce property is 0. Therefore, both assemblies should have the same mass. However, this is not the case and can be seen by reading the mass property of each part.
- To confirm the different behavior, play the level by going to Home → Test → Run and observe that the right assembly displays more weight than the left.
Visual aid:
Expected behavior
I expect a non-root part to always have no mass when the massless property is set to true. Regardless if a LinearVelocity instance is applied to it. Besides, there is a deprecated class called “BodyVelocity”, superseded by the LinearVelocity class, which respects the massless property. This leads me to believe this is a bug.