Minestom icon indicating copy to clipboard operation
Minestom copied to clipboard

Basic EntityProjectile movement is very laggy

Open emortaldev opened this issue 2 years ago • 2 comments

EntityProjectile entity = new EntityProjectile(player, EntityType.SNOWBALL)
entity.setVelocity(player.getPosition().direction().mul(20.0))
entity.setInstance(instance, player.getPosition().add(0.0, player.getEyeHeight(), 0.0))

emortaldev avatar Dec 24 '22 20:12 emortaldev

I should note, spawning a regular entity is perfectly smooth

emortaldev avatar Dec 26 '22 08:12 emortaldev

clients are probably using entity velocity to help interpolate

MWHunter avatar Jan 09 '23 03:01 MWHunter