@quenty/r15utils 13.15.0 → 13.16.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 +8 -0
- package/package.json +5 -5
- package/src/Shared/RxR15Utils.lua +21 -0
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
|
+
# [13.16.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/r15utils@13.15.0...@quenty/r15utils@13.16.0) (2025-02-18)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @quenty/r15utils
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [13.15.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/r15utils@13.14.0...@quenty/r15utils@13.15.0) (2024-12-15)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @quenty/r15utils
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/r15utils",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.16.0",
|
|
4
4
|
"description": "Utility methods for R15 Characters",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"Quenty"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@quenty/brio": "^14.
|
|
29
|
-
"@quenty/instanceutils": "^13.
|
|
30
|
-
"@quenty/loader": "^10.
|
|
28
|
+
"@quenty/brio": "^14.16.0",
|
|
29
|
+
"@quenty/instanceutils": "^13.16.0",
|
|
30
|
+
"@quenty/loader": "^10.8.0"
|
|
31
31
|
},
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "184a407d8d7366c39009444c3c9a7023cb176471"
|
|
36
36
|
}
|
|
@@ -51,6 +51,27 @@ function RxR15Utils.observeRigMotorBrio(character, partName, motorName)
|
|
|
51
51
|
})
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
+
--[=[
|
|
55
|
+
Observes a rig motor as a brio
|
|
56
|
+
@param character Model
|
|
57
|
+
@param partName string
|
|
58
|
+
@param weldName string
|
|
59
|
+
@return Observable<Brio<Motor6D>>
|
|
60
|
+
]=]
|
|
61
|
+
function RxR15Utils.observeRigWeldBrio(character, partName, weldName)
|
|
62
|
+
assert(typeof(character) == "Instance", "Bad character")
|
|
63
|
+
assert(type(partName) == "string", "Bad partName")
|
|
64
|
+
assert(type(weldName) == "string", "Bad weldName")
|
|
65
|
+
|
|
66
|
+
return RxInstanceUtils.observeLastNamedChildBrio(character, "BasePart", partName)
|
|
67
|
+
:Pipe({
|
|
68
|
+
RxBrioUtils.switchMapBrio(function(part)
|
|
69
|
+
return RxInstanceUtils.observeLastNamedChildBrio(part, "Weld", weldName)
|
|
70
|
+
end);
|
|
71
|
+
RxBrioUtils.onlyLastBrioSurvives();
|
|
72
|
+
})
|
|
73
|
+
end
|
|
74
|
+
|
|
54
75
|
--[=[
|
|
55
76
|
Observes a rig motor as a brio
|
|
56
77
|
@param character Model
|