@quenty/ik 9.4.0 → 9.5.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,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
+ # [9.5.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/ik@9.4.0...@quenty/ik@9.5.0) (2022-11-04)
7
+
8
+
9
+ ### Features
10
+
11
+ * Avoid exporting LimbIKUtils and use old IK method instead ([a1aae1c](https://github.com/Quenty/NevermoreEngine/commit/a1aae1c2cda8f9f30ee0276f00e17eca33ede1ee))
12
+
13
+
14
+
15
+
16
+
6
17
  # [9.4.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/ik@9.3.0...@quenty/ik@9.4.0) (2022-10-31)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/ik
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/ik",
3
- "version": "9.4.0",
3
+ "version": "9.5.0",
4
4
  "description": "Inverse Kinematics for characters on Roblox",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -38,6 +38,7 @@
38
38
  "@quenty/maid": "^2.4.0",
39
39
  "@quenty/math": "^2.2.0",
40
40
  "@quenty/motor6d": "^1.3.0",
41
+ "@quenty/optional": "^7.0.0",
41
42
  "@quenty/promise": "^6.0.0",
42
43
  "@quenty/qframe": "^6.1.0",
43
44
  "@quenty/r15utils": "^7.2.0",
@@ -54,5 +55,5 @@
54
55
  "publishConfig": {
55
56
  "access": "public"
56
57
  },
57
- "gitHead": "e4a4ba11602d2a7e2e8ede6e4277901cdcd39824"
58
+ "gitHead": "1cf7e4838d864bdce2e5751b6c97d38bce29e9a6"
58
59
  }
@@ -7,22 +7,22 @@ local require = require(script.Parent.loader).load(script)
7
7
 
8
8
  local RunService = game:GetService("RunService")
9
9
 
10
+ local ArmIKUtils = require("ArmIKUtils")
10
11
  local BaseObject = require("BaseObject")
11
12
  local IKAimPositionPriorites = require("IKAimPositionPriorites")
12
- local LimbIKUtils = require("LimbIKUtils")
13
+ local LimbIKUtils = require.optional(require, "LimbIKUtils")
13
14
  local Maid = require("Maid")
14
15
  local Math = require("Math")
16
+ local Motor6DSmoothTransformer = require("Motor6DSmoothTransformer")
17
+ local Motor6DStackInterface = require("Motor6DStackInterface")
15
18
  local QFrame = require("QFrame")
16
- local RxR15Utils = require("RxR15Utils")
17
- local RxInstanceUtils = require("RxInstanceUtils")
18
- local RxBrioUtils = require("RxBrioUtils")
19
19
  local Rx = require("Rx")
20
- local ArmIKUtils = require("ArmIKUtils")
21
- local Motor6DStackInterface = require("Motor6DStackInterface")
22
- local Motor6DSmoothTransformer = require("Motor6DSmoothTransformer")
20
+ local RxBrioUtils = require("RxBrioUtils")
21
+ local RxInstanceUtils = require("RxInstanceUtils")
22
+ local RxR15Utils = require("RxR15Utils")
23
23
 
24
24
  local CFA_90X = CFrame.Angles(math.pi/2, 0, 0)
25
- local USE_OLD_IK_SYSTEM = false
25
+ local USE_OLD_IK_SYSTEM = (not LimbIKUtils) or false
26
26
  local USE_MOTOR_6D_RAW = true
27
27
 
28
28
  local ArmIKBase = setmetatable({}, BaseObject)