fixed a bug where spawned fixture's x-position is not wrapped as it should do

This commit is contained in:
minjaesong
2021-09-19 00:03:34 +09:00
parent e68d82f280
commit c94babdf04
3 changed files with 31 additions and 20 deletions

View File

@@ -128,7 +128,7 @@ class SpriteAnimation(@Transient val parentActor: ActorWithBody) {
if (visible) {
val region = textureRegion.get(currentFrame, currentRow)
batch.color = colorFilter
// batch.color = colorFilter
//val scale = parentActor.scale.toFloat() // wtf?