Skip to main content

RigBuilderUtils

Helps build player characters or other humanoid rigs for use in a variety of situations.

Functions

disableAnimateScript

RigBuilderUtils.disableAnimateScript(rigModel) → ()

Typically we don't want to remove the animate script completely, just disable it.

createR6MeshRig

RigBuilderUtils.createR6MeshRig() → Instance

Creates an R6 mesh rig

createR6MeshBoyRig

RigBuilderUtils.createR6MeshBoyRig() → Instance

Creates an R6 boy mesh rig

createR6MeshGirlRig

RigBuilderUtils.createR6MeshGirlRig() → Instance

Creates an R6 girl mesh rig

promiseR15PackageRig

RigBuilderUtils.promiseR15PackageRig(packageAssetIdnumber) → Promise<Instance>

Creates an R15 rig from a package

promiseR15Rig

RigBuilderUtils.promiseR15Rig() → Promise<Instance>

Creates a default R15 rig

promiseR15ManRig

RigBuilderUtils.promiseR15ManRig() → Promise<Instance>

Creates an R15 man rig

promiseR15WomanRig

RigBuilderUtils.promiseR15WomanRig() → Promise<Instance>

Creates an R15 woman rig

promiseR15MeshRig

RigBuilderUtils.promiseR15MeshRig() → Promise<Instance>

Creates an R15 mesh rig

promiseBasePlayerRig

RigBuilderUtils.promiseBasePlayerRig(
userIdnumber,
humanoidRigTypeHumanoidRigType | nil,
assetTypeVerificationAssetTypeVerification | nil
) → Promise<Instance>

Creates an R15 rig with the base details of a given character, but not all of them

promisePlayerRig

RigBuilderUtils.promisePlayerRig(userIdnumber) → Promise<Instance>

Creates an R15 rig dressed as a given player

Show raw api
{
    "functions": [
        {
            "name": "disableAnimateScript",
            "desc": "Typically we don't want to remove the animate script completely, just disable it.",
            "params": [
                {
                    "name": "rig",
                    "desc": "",
                    "lua_type": "Model"
                }
            ],
            "returns": [],
            "function_type": "static",
            "source": {
                "line": 46,
                "path": "src/rigbuilderutils/src/Shared/RigBuilderUtils.lua"
            }
        },
        {
            "name": "createR6MeshRig",
            "desc": "Creates an R6 mesh rig",
            "params": [],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Instance"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 188,
                "path": "src/rigbuilderutils/src/Shared/RigBuilderUtils.lua"
            }
        },
        {
            "name": "createR6MeshBoyRig",
            "desc": "Creates an R6 boy mesh rig",
            "params": [],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Instance"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 228,
                "path": "src/rigbuilderutils/src/Shared/RigBuilderUtils.lua"
            }
        },
        {
            "name": "createR6MeshGirlRig",
            "desc": "Creates an R6 girl mesh rig",
            "params": [],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Instance"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 268,
                "path": "src/rigbuilderutils/src/Shared/RigBuilderUtils.lua"
            }
        },
        {
            "name": "promiseR15PackageRig",
            "desc": "Creates an R15 rig from a package",
            "params": [
                {
                    "name": "packageAssetId",
                    "desc": "",
                    "lua_type": "number"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Promise<Instance>"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 350,
                "path": "src/rigbuilderutils/src/Shared/RigBuilderUtils.lua"
            }
        },
        {
            "name": "promiseR15Rig",
            "desc": "Creates a default R15 rig",
            "params": [],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Promise<Instance>"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 410,
                "path": "src/rigbuilderutils/src/Shared/RigBuilderUtils.lua"
            }
        },
        {
            "name": "promiseR15ManRig",
            "desc": "Creates an R15 man rig",
            "params": [],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Promise<Instance>"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 441,
                "path": "src/rigbuilderutils/src/Shared/RigBuilderUtils.lua"
            }
        },
        {
            "name": "promiseR15WomanRig",
            "desc": "Creates an R15 woman rig",
            "params": [],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Promise<Instance>"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 449,
                "path": "src/rigbuilderutils/src/Shared/RigBuilderUtils.lua"
            }
        },
        {
            "name": "promiseR15MeshRig",
            "desc": "Creates an R15 mesh rig",
            "params": [],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Promise<Instance>"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 457,
                "path": "src/rigbuilderutils/src/Shared/RigBuilderUtils.lua"
            }
        },
        {
            "name": "promiseBasePlayerRig",
            "desc": "Creates an R15 rig with the base details of a given character, but not all of them",
            "params": [
                {
                    "name": "userId",
                    "desc": "",
                    "lua_type": "number"
                },
                {
                    "name": "humanoidRigType",
                    "desc": "",
                    "lua_type": "HumanoidRigType | nil"
                },
                {
                    "name": "assetTypeVerification",
                    "desc": "",
                    "lua_type": "AssetTypeVerification | nil"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Promise<Instance>"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 468,
                "path": "src/rigbuilderutils/src/Shared/RigBuilderUtils.lua"
            }
        },
        {
            "name": "promisePlayerRig",
            "desc": "Creates an R15 rig dressed as a given player",
            "params": [
                {
                    "name": "userId",
                    "desc": "",
                    "lua_type": "number"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Promise<Instance>"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 553,
                "path": "src/rigbuilderutils/src/Shared/RigBuilderUtils.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "RigBuilderUtils",
    "desc": "Helps build player characters or other humanoid rigs for use in a variety of situations.",
    "source": {
        "line": 5,
        "path": "src/rigbuilderutils/src/Shared/RigBuilderUtils.lua"
    }
}