Issue Type: Other
Date First Experienced: 2021-02-05 18:02:00 (-06:00)
Date Last Experienced: 2021-02-06 11:02:00 (-06:00)
- Make a script that creates a part
local part = Instance.new("Part") part.Anchored = true part.Size = Vector3.new(10, 1, 10) --part.AssemblyLinearVelocity = Vector3.new(10, 0, 0) part.Parent = workspace part.AssemblyLinearVelocity = Vector3.new(10, 0, 0)
- If you set the AssemblyLinearVelocity before it is parented to workspace, it will be set to 0, 0, 0. If you set AssemblyLinearVelocity after it is parented to workspace, it will stay the same as what you set it to.
- If you change
Velocity, it works whether you set the parent before or after.
I would expect that AssemblyLinearVelocity would not reset itself when it is parented from workspace, but would stay the same as what it was set to. This is how the deprecated Velocity property worked.
When you set AssemblyLinearVelocity before parenting the part:
When you set AssemblyLinearVelocity after parenting the part:
When you set Velocity either before or after parenting the part:
Setting the AssemblyLinearVelocity property after setting the Parent property.
I’m not completely sure whether this is a bug or if it’s intentional, but I’m posting it anyways because I’m not sure. It just seems to make more sense for AssemblyLinearVelocity to behave the same way as Velocity did.