mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-17 03:15:35 -04:00
fix invisible arm
This commit is contained in:
parent
1ca468ac44
commit
822972ff1f
@ -112,7 +112,7 @@ class ArmOverlay(private val context: RenderContext) : Overlay {
|
||||
}
|
||||
screenMatrix.translateAssign(translation) // move inner side of arm to 0|0|0
|
||||
|
||||
screenMatrix.translateAssign(Vec3(if (arm == Arms.LEFT) -18 else -12, -54, -10).fromBlockCoordinates())
|
||||
screenMatrix.translateAssign(Vec3(if (arm == Arms.LEFT) -18 else -12, -38, -10).fromBlockCoordinates())
|
||||
|
||||
this.refreshTransform = false
|
||||
return projection * screenMatrix * matrix
|
||||
|
@ -33,8 +33,8 @@ class FirstPersonArmAnimator(private val player: PlayerModel) : SkeletalAnimatio
|
||||
return null
|
||||
}
|
||||
if (player.entity.mainArm == Arms.LEFT) {
|
||||
return Vec3(120, 20, 0)
|
||||
return Vec3(-120, -20, 0)
|
||||
}
|
||||
return Vec3(120, -20, -10)
|
||||
return Vec3(-120, 20, 10)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user