mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 03:54:06 +09:00
fluid viscosity on phys sim
This commit is contained in:
@@ -25,7 +25,7 @@ internal object SpawnPhysTestBall : ConsoleCommand {
|
||||
val ball = PhysTestBall()
|
||||
ball.setPosition(mouseX, mouseY)
|
||||
ball.elasticity = elasticity
|
||||
ball.applyForce(Vector2(xvel, yvel))
|
||||
ball.applyAcceleration(Vector2(xvel, yvel))
|
||||
|
||||
INGAME.queueActorAddition(ball)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user