@quenty/rigbuilderutils 10.19.3 → 10.19.4-canary.11a5dcf.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [10.19.4-canary.11a5dcf.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rigbuilderutils@10.19.3...@quenty/rigbuilderutils@10.19.4-canary.11a5dcf.0) (2025-05-10)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @quenty/rigbuilderutils
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [10.19.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rigbuilderutils@10.19.2...@quenty/rigbuilderutils@10.19.3) (2025-04-10)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @quenty/rigbuilderutils
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/rigbuilderutils",
|
|
3
|
-
"version": "10.19.
|
|
3
|
+
"version": "10.19.4-canary.11a5dcf.0",
|
|
4
4
|
"description": "Utility functions for debugging, builds a Roblox character rig",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -26,18 +26,18 @@
|
|
|
26
26
|
"Quenty"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@quenty/assetserviceutils": "
|
|
30
|
-
"@quenty/humanoiddescriptionutils": "
|
|
31
|
-
"@quenty/insertserviceutils": "
|
|
32
|
-
"@quenty/loader": "
|
|
33
|
-
"@quenty/promise": "
|
|
29
|
+
"@quenty/assetserviceutils": "5.19.4-canary.11a5dcf.0",
|
|
30
|
+
"@quenty/humanoiddescriptionutils": "10.10.5-canary.11a5dcf.0",
|
|
31
|
+
"@quenty/insertserviceutils": "10.10.5-canary.11a5dcf.0",
|
|
32
|
+
"@quenty/loader": "10.8.4-canary.11a5dcf.0",
|
|
33
|
+
"@quenty/promise": "10.10.5-canary.11a5dcf.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@quenty/camerastoryutils": "
|
|
37
|
-
"@quenty/maid": "
|
|
36
|
+
"@quenty/camerastoryutils": "10.10.5-canary.11a5dcf.0",
|
|
37
|
+
"@quenty/maid": "3.4.4-canary.11a5dcf.0"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "11a5dcf7d4c7a0bfbf3337e97d30e8346ea09d3f"
|
|
43
43
|
}
|
|
@@ -8,11 +8,11 @@ local require = require(script.Parent.loader).load(script)
|
|
|
8
8
|
|
|
9
9
|
local Players = game:GetService("Players")
|
|
10
10
|
|
|
11
|
-
local InsertServiceUtils = require("InsertServiceUtils")
|
|
12
|
-
local PromiseUtils = require("PromiseUtils")
|
|
13
11
|
local AssetServiceUtils = require("AssetServiceUtils")
|
|
14
|
-
local Promise = require("Promise")
|
|
15
12
|
local HumanoidDescriptionUtils = require("HumanoidDescriptionUtils")
|
|
13
|
+
local InsertServiceUtils = require("InsertServiceUtils")
|
|
14
|
+
local Promise = require("Promise")
|
|
15
|
+
local PromiseUtils = require("PromiseUtils")
|
|
16
16
|
|
|
17
17
|
local RigBuilderUtils = {}
|
|
18
18
|
|
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
@class RigBuilderUtils.story
|
|
3
3
|
]]
|
|
4
4
|
|
|
5
|
-
local require =
|
|
5
|
+
local require =
|
|
6
|
+
require(game:GetService("ServerScriptService"):FindFirstChild("LoaderUtils", true).Parent).bootstrapStory(script)
|
|
6
7
|
|
|
7
8
|
local Workspace = game:GetService("Workspace")
|
|
8
9
|
|
|
9
|
-
local Maid = require("Maid")
|
|
10
|
-
local RigBuilderUtils = require("RigBuilderUtils")
|
|
11
10
|
local CameraStoryUtils = require("CameraStoryUtils")
|
|
11
|
+
local Maid = require("Maid")
|
|
12
12
|
local Promise = require("Promise")
|
|
13
|
+
local RigBuilderUtils = require("RigBuilderUtils")
|
|
13
14
|
|
|
14
15
|
local function spawnRig(offset, maid, viewportFrame, rig)
|
|
15
16
|
maid:GiveTask(rig)
|
|
@@ -20,10 +21,9 @@ local function spawnRig(offset, maid, viewportFrame, rig)
|
|
|
20
21
|
rig.Parent = viewportFrame
|
|
21
22
|
end)
|
|
22
23
|
|
|
23
|
-
rig:SetPrimaryPartCFrame(
|
|
24
|
-
* CFrame.new(0, 0, -15)
|
|
25
|
-
|
|
26
|
-
* CFrame.Angles(0, math.pi, 0))
|
|
24
|
+
rig:SetPrimaryPartCFrame(
|
|
25
|
+
Workspace.CurrentCamera.CFrame * CFrame.new(0, 0, -15) * CFrame.new(offset, 0, 0) * CFrame.Angles(0, math.pi, 0)
|
|
26
|
+
)
|
|
27
27
|
end
|
|
28
28
|
|
|
29
29
|
return function(target)
|
|
@@ -42,11 +42,11 @@ return function(target)
|
|
|
42
42
|
RigBuilderUtils.promiseR15Rig(),
|
|
43
43
|
RigBuilderUtils.promisePlayerRig(4397833),
|
|
44
44
|
RigBuilderUtils.promisePlayerRig(9360463),
|
|
45
|
-
RigBuilderUtils.promisePlayerRig(676056)
|
|
45
|
+
RigBuilderUtils.promisePlayerRig(676056),
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
for index, rig in rigs do
|
|
49
|
-
local offset = ((index - 0.5)
|
|
49
|
+
local offset = ((index - 0.5) / #rigs - 0.5) * #rigs * 4
|
|
50
50
|
if Promise.isPromise(rig) then
|
|
51
51
|
maid:GivePromise(rig):Then(function(actualRig)
|
|
52
52
|
spawnRig(offset, maid, viewportFrame, actualRig)
|
|
@@ -59,4 +59,4 @@ return function(target)
|
|
|
59
59
|
return function()
|
|
60
60
|
maid:DoCleaning()
|
|
61
61
|
end
|
|
62
|
-
end
|
|
62
|
+
end
|