Interpolation Duration

Why is it ignoring the interpolation duration?
(Bukkit.getWorld("world")?.getEntity(this.uuid!!) as ItemDisplay).apply {
teleportDuration = 3
interpolationDuration = 3
transformation = Transformation(
Vector3f(0.0F, 0.3F, 0.0F),
AxisAngle4f(1.5707964F, 0F, 1F, 0F),
Vector3f(0.09F, 0.09F, 0.09F),
AxisAngle4f()
)
//teleport(location.add(8.17 + position.getY() * 0.09425, 0.0, 8.17 + position.getX() * 0.09425))

scheduler.runDelayed(plugin!!, {
transformation = Transformation(
Vector3f(0.0F, 0.0F, 0.0F),
AxisAngle4f(1.5707964F, 0F, 1F, 0F),
Vector3f(0.09F, 0.09F, 0.09F),
AxisAngle4f()
)
}, {

}, 6L)
}
(Bukkit.getWorld("world")?.getEntity(this.uuid!!) as ItemDisplay).apply {
teleportDuration = 3
interpolationDuration = 3
transformation = Transformation(
Vector3f(0.0F, 0.3F, 0.0F),
AxisAngle4f(1.5707964F, 0F, 1F, 0F),
Vector3f(0.09F, 0.09F, 0.09F),
AxisAngle4f()
)
//teleport(location.add(8.17 + position.getY() * 0.09425, 0.0, 8.17 + position.getX() * 0.09425))

scheduler.runDelayed(plugin!!, {
transformation = Transformation(
Vector3f(0.0F, 0.0F, 0.0F),
AxisAngle4f(1.5707964F, 0F, 1F, 0F),
Vector3f(0.09F, 0.09F, 0.09F),
AxisAngle4f()
)
}, {

}, 6L)
}
2 Replies
Error110
Error1103w ago
@Hajsori i think your ment to ask in #development I might be wrong tho
Hajsori
HajsoriOP3w ago
alright

Did you find this page helpful?