Skip to content

Commit

Permalink
Applied terminal velocity to volume demo
Browse files Browse the repository at this point in the history
  • Loading branch information
davesmith00000 committed Jan 7, 2024
1 parent 5b643c2 commit 34c35cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions indigo/physics/src/main/scala/example/VolumeScene.scala
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ object VolumeScene extends PhysicsScene:
)
)
.withVelocity(Vector2(Math.sin(i.toDouble) * energy, Math.cos(i.toDouble) * energy))
.withTerminalVelocity(Vector2(50))
}

World
Expand Down

0 comments on commit 34c35cf

Please sign in to comment.