Strange Physics on Objects moved from Replicated Storage to Workspace

(Apologizes if this is in the wrong category, seeing as I’m not really sure if this is related to the script or just Roblox.)

I made a quick and simple inventory script, but it seems to have a problem with the physics when dropping the items.

As you can see, the dropped items don’t behave how they should. Some of them randomly teleport around, while sometimes they only seem to be active when coming into contact with a player.

Any help or ideas on this would be greatly appreciated. For some context, all of the inventory stuff is being handled in a client script.

Are you calling the server from the client to put the items into the workspace properly?

This is planned to be a strictly single player game, so I didn’t give this too much thought. Do you think switching it to server physics would be better?

Looks like you’ve messed with the CFrames in a local script. You need to wait one frame after re-parenting it before changing that.

So would a task.wait() do the trick?

I think so. But don’t quote me on that since it’s just my assumption. You might just have to resort to setting the CFrame from a server script.

1 Like

Doesn’t seem to help, although I’m gonna try to do the CFrames on the server side a bit later, I’ll let you know how it goes.

It seems setting the CFrame on the Server worked, and setting the NetworkOwner of the object to Client helps with stuttery frames, thanks for the help!

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