Water physics don't work properly with assemblies when using StepPhysics() with second parameter

When using workspace:StepPhysics() with an array for which parts to apply physics to, Water physics seem to be only applying to the rootpart of assemblies rather than every part, causing the assembly to sink.

I had also tried including every part of the assembly in the array, and there was no difference.

Video:

Place file
physicswaterbugrepro.rbxl (78.1 KB)
Script used in command bar:

local s = {workspace.Part1, workspace.Part2, workspace.Rig.PrimaryPart} 
local c = game["Run Service"].PreRender:Connect(function(dt) 
    workspace:StepPhysics(dt, s)
end) 

task.wait(4) 
c:Disconnect() 
game.ChangeHistoryService:SetWaypoint("stepped")
3 Likes

Thank you for the detailed post and reproduction steps! I think I was able to find the issue thanks to those, and I have merged in what I think should be a fix. It should be able to go live in a week or two, I will keep you posted here!

2 Likes

Hello! I checked now to see if water works as intended but it seems to be still the same.
Has the fix not been enabled yet?

Thanks for reaching out! I believe I should be able to flip the flag this week, I’ll let you know when I do so. Apologies for the delay!

Flag has been rolled out, so the behavior should be fixed!

1 Like

It works fine now, thanks!

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