Skip to content

Commit

Permalink
fix: characterController create error
Browse files Browse the repository at this point in the history
  • Loading branch information
luzhuang committed Jan 15, 2025
1 parent 21a97a1 commit e153f0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/physics-physx/src/PhysXPhysics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export class PhysXPhysics implements IPhysics {
}

if (runtimeMode == PhysXRuntimeMode.JavaScript) {
script.src = `https://mdn.alipayobjects.com/rms/afts/file/A*CfV8RrDQk5oAAAAAAAAAAAAAARQnAQ/physx.release.downgrade.js`;
script.src = `https://mdn.alipayobjects.com/rms/afts/file/A*PXxaQrGL0XsAAAAAAAAAAAAAARQnAQ/physx.release.downgrade.js`;

Check warning on line 93 in packages/physics-physx/src/PhysXPhysics.ts

View check run for this annotation

Codecov / codecov/patch

packages/physics-physx/src/PhysXPhysics.ts#L93

Added line #L93 was not covered by tests
} else if (runtimeMode == PhysXRuntimeMode.WebAssembly) {
script.src = `https://mdn.alipayobjects.com/rms/afts/file/A*0Qq8Rob3_5oAAAAAAAAAAAAAARQnAQ/physx.release.js`;
}
Expand Down

0 comments on commit e153f0d

Please sign in to comment.