Skip to content

Commit

Permalink
remove console log from example
Browse files Browse the repository at this point in the history
  • Loading branch information
CodedRedGIT committed Nov 5, 2024
1 parent 1f0a1a6 commit 0e72d0a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions docs/examples/collisions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,6 @@ export default class BallBehavior extends Behavior {

const movement = this.direction.mul((this.time.delta / 100) * this.speed);
this.entity.globalTransform.position = this.entity.globalTransform.position.add(movement);
if (
this.entity.globalTransform.position.x === 3 &&
this.entity.globalTransform.position.y === 1
)
console.log(movement);
}

private onCollide(e: EntityCollision): void {
Expand Down

0 comments on commit 0e72d0a

Please sign in to comment.