Skip to content

Commit

Permalink
refactor: fix physics package.json (galacean#575)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuoLei1990 authored Nov 10, 2021
1 parent 03d9bdb commit 628dfda
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions packages/physics-lite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@
"dependencies": {
"@oasis-engine/design": "0.6.0-alpha.0",
"@oasis-engine/math": "0.6.0-alpha.0"
},
"publishConfig": {
"access": "public"
}
}
3 changes: 3 additions & 0 deletions packages/physics-physx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@
"dependencies": {
"@oasis-engine/design": "0.6.0-alpha.0",
"@oasis-engine/math": "0.6.0-alpha.0"
},
"publishConfig": {
"access": "public"
}
}
4 changes: 2 additions & 2 deletions packages/physics-physx/src/PhysXPhysics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ export class PhysXPhysics {
}

if (runtimeMode == PhysXRuntimeMode.JavaScript) {
script.src = "https://gw.alipayobjects.com/os/lib/oasis-engine/physics-physx/0.6-alpha.0/dist/physx.release.js";
script.src = "https://gw.alipayobjects.com/os/lib/oasis-engine/physics-physx/0.6.0-alpha.1/dist/physx.release.js";
} else if (runtimeMode == PhysXRuntimeMode.WebAssembly) {
script.src = "https://gw.alipayobjects.com/os/lib/oasis-engine/physics-physx/0.6-alpha.0/dist/physx.release.js";
script.src = "https://gw.alipayobjects.com/os/lib/oasis-engine/physics-physx/0.6.0-alpha.1/dist/physx.release.js";
}
});

Expand Down

0 comments on commit 628dfda

Please sign in to comment.