@threlte/rapier 0.0.2 → 0.0.3

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/dist/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @threlte/extras
2
2
 
3
+ ## 0.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - cd6dac6: cleaned up dead code in RigidBody component
8
+
3
9
  ## 0.0.2
4
10
 
5
11
  ### Patch Changes
@@ -53,9 +53,6 @@ applyTransforms(object, position, rotation, scale, lookAt);
53
53
  * the world position to the RigidBody
54
54
  */
55
55
  object.updateWorldMatrix(true, false);
56
- const worldPosition = getWorldPosition(object);
57
- const worldRotation = getWorldQuaternion(object);
58
- const parentWorldScale = object.parent?.getWorldScale(new Vector3()) || new Vector3(1, 1, 1);
59
56
  /**
60
57
  * RigidBody Description
61
58
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@threlte/rapier",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "author": "Grischa Erbe <hello@legrisch.com> (https://legrisch.com)",
5
5
  "license": "MIT",
6
6
  "devDependencies": {
@@ -8,7 +8,7 @@
8
8
  "@sveltejs/adapter-auto": "next",
9
9
  "@sveltejs/adapter-static": "^1.0.0-next.29",
10
10
  "@sveltejs/kit": "next",
11
- "@threlte/core": "4.2.0",
11
+ "@threlte/core": "4.3.1",
12
12
  "@types/node": "^18.0.3",
13
13
  "@types/three": "^0.140.0",
14
14
  "@typescript-eslint/eslint-plugin": "^4.31.1",