diff --git a/frontend/models/Raspberry.ts b/frontend/models/Raspberry.ts index f2cb1e4..c8a90d6 100644 --- a/frontend/models/Raspberry.ts +++ b/frontend/models/Raspberry.ts @@ -60,7 +60,7 @@ class Raspberry extends Entity { push(); noFill(); translate(this.position.x, this.position.y); - // rotate((PI/4)*(this.velocity)); + rotate((PI/2)*(this.velocity/Raspberry.maxVelocity)); image(this.image, 0, 0, this.width, this.height); if (!this.showHitbox) { noStroke();