Skip to content

Commit a997f38

Browse files
author
Your Name
committed
fixes
1 parent 439e274 commit a997f38

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/TestColliderMerge.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ for (let x = 0; x < 50; x++) {
4747
// Add a small random offset to each vertex for variety, but keep convex
4848
const vertices: Vector[] = [];
4949
for (let i = 0; i < n; i++) {
50-
const angle = i * angleStep + Math.random() * (angleStep * 0.3 - angleStep * 0.15);
50+
const angle = i * angleStep + Math.random() * (angleStep * 0.15);
5151
const r = radius * (0.7 + Math.random() * 0.6); // 0.7r to 1.3r
5252
vertices.push(new Vector(
5353
Math.cos(angle) * r,
@@ -149,7 +149,7 @@ const playerRenderer = new ColorRender({
149149
});
150150

151151
const playerMovement = new CharacterMovement({
152-
speed: 5/10,
152+
speed: 0.5,
153153
input: input
154154
});
155155

testDist/TestColliderMerge.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26708,7 +26708,7 @@ for (let x = 0;x < 50; x++) {
2670826708
const center = new Vector(0, 0);
2670926709
const vertices = [];
2671026710
for (let i = 0;i < n; i++) {
26711-
const angle = i * angleStep + Math.random() * (angleStep * 0.3 - angleStep * 0.15);
26711+
const angle = i * angleStep + Math.random() * (angleStep * 0.15);
2671226712
const r = radius * (0.7 + Math.random() * 0.6);
2671326713
vertices.push(new Vector(Math.cos(angle) * r, Math.sin(angle) * r));
2671426714
}
@@ -26795,7 +26795,7 @@ var playerRenderer = new ColorRender({
2679526795
color: "blue"
2679626796
});
2679726797
var playerMovement = new CharacterMovement({
26798-
speed: 5 / 10,
26798+
speed: 0.5,
2679926799
input
2680026800
});
2680126801
var camera = new Camera({ name: "Cam" });

0 commit comments

Comments
 (0)