mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-17 11:24:56 -04:00
fix entities just visible after first position change
This commit is contained in:
parent
bf9032c376
commit
9f0ca282fa
@ -42,6 +42,10 @@ class EntityRenderInfo(private val entity: Entity) : Drawable, Tickable {
|
|||||||
var rotation: EntityRotation = rotation1
|
var rotation: EntityRotation = rotation1
|
||||||
private set
|
private set
|
||||||
|
|
||||||
|
init {
|
||||||
|
interpolateAABB(true)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
private fun interpolatePosition(delta: Float) {
|
private fun interpolatePosition(delta: Float) {
|
||||||
val position1 = this.position1
|
val position1 = this.position1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user