@quenty/rigbuilderutils 10.16.0 → 10.17.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 +11 -0
- package/package.json +7 -7
- package/src/Shared/RigBuilderUtils.lua +16 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.17.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rigbuilderutils@10.16.0...@quenty/rigbuilderutils@10.17.0) (2024-12-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* Add RigBuilderUtils.findAnimateScript(rig: Model) ([8e4a44e](https://github.com/Quenty/NevermoreEngine/commit/8e4a44ed1408c68e0ef3eedfa5973557a43d65f7))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [10.16.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rigbuilderutils@10.15.0...@quenty/rigbuilderutils@10.16.0) (2024-12-03)
|
|
7
18
|
|
|
8
19
|
**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.
|
|
3
|
+
"version": "10.17.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": "^5.
|
|
30
|
-
"@quenty/humanoiddescriptionutils": "^10.
|
|
31
|
-
"@quenty/insertserviceutils": "^10.
|
|
29
|
+
"@quenty/assetserviceutils": "^5.17.0",
|
|
30
|
+
"@quenty/humanoiddescriptionutils": "^10.9.0",
|
|
31
|
+
"@quenty/insertserviceutils": "^10.9.0",
|
|
32
32
|
"@quenty/loader": "^10.7.1",
|
|
33
|
-
"@quenty/promise": "^10.
|
|
33
|
+
"@quenty/promise": "^10.9.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@quenty/camerastoryutils": "^10.
|
|
36
|
+
"@quenty/camerastoryutils": "^10.9.0",
|
|
37
37
|
"@quenty/maid": "^3.4.0"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "0a20ace4dc7d38f8c889bf73b716b33e8a767c54"
|
|
43
43
|
}
|
|
@@ -44,12 +44,26 @@ end
|
|
|
44
44
|
@param rig Model
|
|
45
45
|
]=]
|
|
46
46
|
function RigBuilderUtils.disableAnimateScript(rig: Model)
|
|
47
|
-
local animate = rig
|
|
48
|
-
if animate
|
|
47
|
+
local animate = RigBuilderUtils.findAnimateScript(rig)
|
|
48
|
+
if animate then
|
|
49
49
|
animate.Enabled = false
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
+
--[=[
|
|
54
|
+
Finds the animate script in the rig
|
|
55
|
+
|
|
56
|
+
@param rig Model
|
|
57
|
+
@return LocalScript?
|
|
58
|
+
]=]
|
|
59
|
+
function RigBuilderUtils.findAnimateScript(rig: Model)
|
|
60
|
+
local animate = rig:FindFirstChild("Animate")
|
|
61
|
+
if animate and (animate:IsA("LocalScript") or animate:IsA("Script")) then
|
|
62
|
+
return animate
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
return nil
|
|
66
|
+
end
|
|
53
67
|
|
|
54
68
|
function RigBuilderUtils.createR6BaseRig()
|
|
55
69
|
local character = Instance.new("Model")
|