@quenty/motor6d 7.58.1 → 7.59.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 +10 -0
- package/package.json +17 -17
- package/src/Shared/Animation/Motor6DAnimator.lua +13 -1
- package/src/Shared/Humanoid/Motor6DStackHumanoidBase.lua +27 -0
- package/src/Shared/Humanoid/Motor6DStackHumanoidInterface.lua +2 -0
- package/src/Shared/Stack/Motor6DStackBase.lua +12 -0
- package/src/Shared/Stack/Motor6DStackInterface.lua +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
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
|
+
# [7.59.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/motor6d@7.58.2...@quenty/motor6d@7.59.0) (2026-11-24)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- Add ability for motor6d to step animations ([0c5691b](https://github.com/Quenty/NevermoreEngine/commit/0c5691b68f8802021f239b54579afa4a989bde03))
|
|
11
|
+
|
|
12
|
+
## [7.58.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/motor6d@7.58.1...@quenty/motor6d@7.58.2) (2026-11-18)
|
|
13
|
+
|
|
14
|
+
**Note:** Version bump only for package @quenty/motor6d
|
|
15
|
+
|
|
6
16
|
## [7.58.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/motor6d@7.58.0...@quenty/motor6d@7.58.1) (2026-10-20)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package @quenty/motor6d
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/motor6d",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.59.0",
|
|
4
4
|
"description": "Centralized service to override motors on humanoids and other places",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -28,27 +28,27 @@
|
|
|
28
28
|
"Quenty"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@quenty/baseobject": "10.16.
|
|
32
|
-
"@quenty/binder": "14.48.
|
|
33
|
-
"@quenty/brio": "14.38.
|
|
31
|
+
"@quenty/baseobject": "10.16.4",
|
|
32
|
+
"@quenty/binder": "14.48.2",
|
|
33
|
+
"@quenty/brio": "14.38.2",
|
|
34
34
|
"@quenty/cframeutils": "5.5.6",
|
|
35
|
-
"@quenty/draw": "7.17.
|
|
36
|
-
"@quenty/instanceutils": "13.38.
|
|
35
|
+
"@quenty/draw": "7.17.4",
|
|
36
|
+
"@quenty/instanceutils": "13.38.2",
|
|
37
37
|
"@quenty/loader": "10.11.3",
|
|
38
|
-
"@quenty/maid": "3.12.
|
|
39
|
-
"@quenty/playerhumanoidbinder": "14.53.
|
|
40
|
-
"@quenty/r15utils": "13.39.
|
|
41
|
-
"@quenty/rx": "13.35.
|
|
42
|
-
"@quenty/servicebag": "11.21.
|
|
43
|
-
"@quenty/signal": "7.13.
|
|
44
|
-
"@quenty/spring": "10.
|
|
45
|
-
"@quenty/steputils": "3.9.
|
|
38
|
+
"@quenty/maid": "3.12.4",
|
|
39
|
+
"@quenty/playerhumanoidbinder": "14.53.2",
|
|
40
|
+
"@quenty/r15utils": "13.39.2",
|
|
41
|
+
"@quenty/rx": "13.35.2",
|
|
42
|
+
"@quenty/servicebag": "11.21.4",
|
|
43
|
+
"@quenty/signal": "7.13.5",
|
|
44
|
+
"@quenty/spring": "10.13.0",
|
|
45
|
+
"@quenty/steputils": "3.9.4",
|
|
46
46
|
"@quenty/symbol": "3.5.2",
|
|
47
|
-
"@quenty/tie": "10.52.
|
|
48
|
-
"@quenty/valueobject": "13.39.
|
|
47
|
+
"@quenty/tie": "10.52.2",
|
|
48
|
+
"@quenty/valueobject": "13.39.2"
|
|
49
49
|
},
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "191a328ce40545ac6fb0282d33dde5b0576494e6"
|
|
54
54
|
}
|
|
@@ -87,6 +87,18 @@ function Motor6DAnimator.Push(self: Motor6DAnimator, transformer: Motor6DTransfo
|
|
|
87
87
|
end
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
+
--[=[
|
|
91
|
+
Steps the animation stack immediately, outside of the usual PreSimulation update. Useful where
|
|
92
|
+
the simulation doesn't run, such as stories in edit mode.
|
|
93
|
+
|
|
94
|
+
@param dt number -- Time since the last step
|
|
95
|
+
]=]
|
|
96
|
+
function Motor6DAnimator.StepAnimations(self: Motor6DAnimator, dt: number): ()
|
|
97
|
+
assert(type(dt) == "number", "Bad dt")
|
|
98
|
+
|
|
99
|
+
self:_updateStepped()
|
|
100
|
+
end
|
|
101
|
+
|
|
90
102
|
function Motor6DAnimator._computeNewTransform(
|
|
91
103
|
self: Motor6DAnimator,
|
|
92
104
|
stackEntry: Motor6DTransformer.Motor6DTransformer,
|
|
@@ -113,7 +125,7 @@ function Motor6DAnimator._computeNewTransform(
|
|
|
113
125
|
end)
|
|
114
126
|
end
|
|
115
127
|
|
|
116
|
-
function Motor6DAnimator._updateStepped(self: Motor6DAnimator):
|
|
128
|
+
function Motor6DAnimator._updateStepped(self: Motor6DAnimator): boolean
|
|
117
129
|
debug.profilebegin("motor6danimator")
|
|
118
130
|
local current: Motor6DTransformer.Motor6DTransformer? = self._stack[#self._stack] :: any
|
|
119
131
|
|
|
@@ -73,6 +73,33 @@ function Motor6DStackHumanoidBase:PushForEachMotor6D(
|
|
|
73
73
|
end
|
|
74
74
|
end
|
|
75
75
|
|
|
76
|
+
--[=[
|
|
77
|
+
Steps every Motor6DStack in the humanoid's character immediately, outside of the usual
|
|
78
|
+
simulation update. Useful where the simulation doesn't run, such as stories in edit mode.
|
|
79
|
+
|
|
80
|
+
Step after the [Animator] so the stacks layer on top of its pose, such as from
|
|
81
|
+
[StudioRigAnimator.AnimationsStepped].
|
|
82
|
+
|
|
83
|
+
@param dt number -- Time since the last step
|
|
84
|
+
]=]
|
|
85
|
+
function Motor6DStackHumanoidBase.StepAnimations(self: Motor6DStackHumanoidBase, dt: number): ()
|
|
86
|
+
assert(type(dt) == "number", "Bad dt")
|
|
87
|
+
|
|
88
|
+
local character = self._obj.Parent
|
|
89
|
+
if not character then
|
|
90
|
+
return
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
for _, descendant in character:GetDescendants() do
|
|
94
|
+
if R15Utils.isAnimationConstraintOrMotor6D(descendant) then
|
|
95
|
+
local motor6DStack = Motor6DStackInterface:Find(descendant, self._tieRealmService:GetTieRealm())
|
|
96
|
+
if motor6DStack then
|
|
97
|
+
motor6DStack:StepAnimations(dt)
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
|
|
76
103
|
--[=[
|
|
77
104
|
Observes Motor6D instances parented to the humanoid's character as Brio objects.
|
|
78
105
|
|
|
@@ -21,6 +21,7 @@ export type Motor6DStackHumanoidInterface = {
|
|
|
21
21
|
self: Motor6DStackHumanoidInterface,
|
|
22
22
|
createTransformerCallback: CreateTransformerCallback
|
|
23
23
|
) -> () -> (),
|
|
24
|
+
StepAnimations: (self: Motor6DStackHumanoidInterface, dt: number) -> (),
|
|
24
25
|
}
|
|
25
26
|
|
|
26
27
|
export type CreateTransformerCallback = (
|
|
@@ -32,4 +33,5 @@ return TieDefinition.new("Motor6DStackHumanoid", {
|
|
|
32
33
|
ObserveMotor6DsBrio = TieDefinition.Types.METHOD,
|
|
33
34
|
ObserveMotor6DStacksBrio = TieDefinition.Types.METHOD,
|
|
34
35
|
PushForEachMotor6D = TieDefinition.Types.METHOD,
|
|
36
|
+
StepAnimations = TieDefinition.Types.METHOD,
|
|
35
37
|
})
|
|
@@ -80,4 +80,16 @@ function Motor6DStackBase.Push(self: Motor6DStackBase, transformer: Motor6DTrans
|
|
|
80
80
|
return self._animator:Push(transformer)
|
|
81
81
|
end
|
|
82
82
|
|
|
83
|
+
--[=[
|
|
84
|
+
Steps the animation stack immediately, outside of the usual PreSimulation update. Useful where
|
|
85
|
+
the simulation doesn't run, such as stories in edit mode.
|
|
86
|
+
|
|
87
|
+
@param dt number -- Time since the last step
|
|
88
|
+
]=]
|
|
89
|
+
function Motor6DStackBase.StepAnimations(self: Motor6DStackBase, dt: number): ()
|
|
90
|
+
assert(type(dt) == "number", "Bad dt")
|
|
91
|
+
|
|
92
|
+
self._animator:StepAnimations(dt)
|
|
93
|
+
end
|
|
94
|
+
|
|
83
95
|
return Motor6DStackBase
|
|
@@ -16,9 +16,11 @@ export type Motor6DStackInterface = {
|
|
|
16
16
|
speed: number?
|
|
17
17
|
) -> Motor6DPhysicsTransformer.Motor6DPhysicsTransformer,
|
|
18
18
|
Push: (self: Motor6DStackInterface, transformer: Motor6DTransformer.Motor6DTransformer) -> () -> (),
|
|
19
|
+
StepAnimations: (self: Motor6DStackInterface, dt: number) -> (),
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
return TieDefinition.new("Motor6DStack", {
|
|
22
23
|
TransformFromCFrame = TieDefinition.Types.METHOD,
|
|
23
24
|
Push = TieDefinition.Types.METHOD,
|
|
25
|
+
StepAnimations = TieDefinition.Types.METHOD,
|
|
24
26
|
}) :: TieDefinition.TieDefinition<Motor6DStackInterface>
|