Skip to main content

NetworkRopeUtils

Utility function to create network ropes which hint to Roblox that two assemblies should be considered to be owned by the same network owner.

Functions

hintSharedMechanism

NetworkRopeUtils.hintSharedMechanism(
part0BasePart,
part1BasePart
) → Maid

Hints that the two parts share a mechanism. This is sort of a physics hack since Roblox will keep mechanisms on the same network owner.

clearNetworkOwnerHints

NetworkRopeUtils.clearNetworkOwnerHints(partPart) → ()

Removes all network owner hints from a given part

Show raw api
{
    "functions": [
        {
            "name": "hintSharedMechanism",
            "desc": "Hints that the two parts share a mechanism. This is sort of a physics hack since Roblox\nwill keep mechanisms on the same network owner.",
            "params": [
                {
                    "name": "part0",
                    "desc": "",
                    "lua_type": "BasePart"
                },
                {
                    "name": "part1",
                    "desc": "",
                    "lua_type": "BasePart"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Maid"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 26,
                "path": "src/networkropeutils/src/Shared/NetworkRopeUtils.lua"
            }
        },
        {
            "name": "clearNetworkOwnerHints",
            "desc": "Removes all network owner hints from a given part",
            "params": [
                {
                    "name": "part",
                    "desc": "",
                    "lua_type": "Part"
                }
            ],
            "returns": [],
            "function_type": "static",
            "source": {
                "line": 64,
                "path": "src/networkropeutils/src/Shared/NetworkRopeUtils.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "NetworkRopeUtils",
    "desc": "Utility function to create network ropes which hint to Roblox that two assemblies\nshould be considered to be owned by the same network owner.",
    "source": {
        "line": 7,
        "path": "src/networkropeutils/src/Shared/NetworkRopeUtils.lua"
    }
}