moooooore physics
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import Vector2 from "./vector";
|
||||
import Vector2 from "../vector";
|
||||
|
||||
export class Shimeji {
|
||||
private element: HTMLElement;
|
||||
@@ -19,9 +19,9 @@ export class Shimeji {
|
||||
|
||||
private readonly TIMESCALE: number = 1;
|
||||
private readonly RESTITUTION: number = 0.4;
|
||||
private readonly CURSOR_STRENGTH: number = 250;
|
||||
private readonly CURSOR_STRENGTH: number = 500;
|
||||
private readonly DAMPING: number = 1;
|
||||
private readonly MASS: number = 0.1;
|
||||
private readonly MASS: number = 1;
|
||||
private readonly FRICTION: number = 0.9;
|
||||
private readonly GRAVITY: number = 50;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user