@quenty/rigbuilderutils 10.9.0 → 10.10.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 +9 -9
- package/src/Shared/RigBuilderUtils.lua +13 -0
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.10.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rigbuilderutils@10.9.0...@quenty/rigbuilderutils@10.10.0) (2024-10-04)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* Add RigBuilderUtils.disableAnimateScript(rig: Model) ([0a4b88a](https://github.com/Quenty/NevermoreEngine/commit/0a4b88a2aaf5acb96e0fad3480733e2ab9fba99f))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [10.9.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rigbuilderutils@10.8.0...@quenty/rigbuilderutils@10.9.0) (2024-09-25)
|
|
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.10.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.
|
|
32
|
-
"@quenty/loader": "^10.
|
|
33
|
-
"@quenty/promise": "^10.
|
|
29
|
+
"@quenty/assetserviceutils": "^5.10.0",
|
|
30
|
+
"@quenty/humanoiddescriptionutils": "^10.6.0",
|
|
31
|
+
"@quenty/insertserviceutils": "^10.6.0",
|
|
32
|
+
"@quenty/loader": "^10.6.0",
|
|
33
|
+
"@quenty/promise": "^10.6.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@quenty/camerastoryutils": "^10.
|
|
37
|
-
"@quenty/maid": "^3.
|
|
36
|
+
"@quenty/camerastoryutils": "^10.6.0",
|
|
37
|
+
"@quenty/maid": "^3.4.0"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "035abfa088c854a73e1c65b350267eaa17669646"
|
|
43
43
|
}
|
|
@@ -38,6 +38,19 @@ local function addAttachment(part, name, position, orientation)
|
|
|
38
38
|
return attachment
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
+
--[=[
|
|
42
|
+
Typically we don't want to remove the animate script completely, just disable it.
|
|
43
|
+
|
|
44
|
+
@param rig Model
|
|
45
|
+
]=]
|
|
46
|
+
function RigBuilderUtils.disableAnimateScript(rig: Model)
|
|
47
|
+
local animate = rig:FindFirstChild("Animate")
|
|
48
|
+
if animate and (animate:IsA("LocalScript") or animate:IsA("Script")) then
|
|
49
|
+
animate.Enabled = false
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
|
|
41
54
|
function RigBuilderUtils.createR6BaseRig()
|
|
42
55
|
local character = Instance.new("Model")
|
|
43
56
|
character.Name = "Dummy"
|