NTL331
(NTL331)
January 4, 2021, 1:41pm
9
sorry.
It seemed to work, but the behavior is still jerky.
I wrote the following script with reference to this URL and put it in ServerScriptService. Is this enough?
What is network ownership?
Let’s first ask the more simple question - What is the part’s network owner and what does it do?
Network owner is the BasePart’s physics handler. Any movements the BasePart makes, is handled by the network owner. The network owner could either be the server, or one of the players.
Let’s say we have Part in workspace. Now if a LocalScript moves the part, it will only move it for the LocalScript’s LocalPlayer.
Here’s some shapes on a client’s screen:
[image]
After…
script:
game.Players.PlayerAdded:Connect(function(player)
game.Workspace.Model.PrimaryPart:SetNetworkOwner(player)
end)
日本語
大変申し訳ないのですが…。
上手く動いたように見えましたがまだ挙動がギクシャクしているようです。
URL参考にスクリプトを書き、ServerScriptServiceに置いたのですが、これだけでは何か足りないのでしょうか?