summaryrefslogtreecommitdiffstats
path: root/src/controller
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2018-11-11 00:17:51 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2018-11-11 00:26:31 +0100
commit3c83dade65cb00cd003139d14106e7283881ef80 (patch)
tree16b6ecd82e224a7573e4c5bd4710c7093e9a79b9 /src/controller
parentc9000b7c385b530bddf87cfed4b580b5d1a2d6d2 (diff)
downloadrpgedit-3c83dade65cb00cd003139d14106e7283881ef80.tar
rpgedit-3c83dade65cb00cd003139d14106e7283881ef80.zip
controller: gamecontext: increase collistion radius to outer line
Diffstat (limited to 'src/controller')
-rw-r--r--src/controller/gamecontext.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controller/gamecontext.ts b/src/controller/gamecontext.ts
index a12e3bc..d6d02d1 100644
--- a/src/controller/gamecontext.ts
+++ b/src/controller/gamecontext.ts
@@ -52,7 +52,7 @@ export class GameContext implements CollidableGroup {
private readonly playerDir: vec2 = vec2.fromValues(0, 1);
private speed: number = 0;
- private readonly collisionRadius = 7 / 16;
+ private readonly collisionRadius = 15 / 32;
private readonly interactLength = 1 / 32;
private constructor(