I'm making a plugin which adds some mobs to pocketmine and i'm stuck with the skeleton aim. For shooting arrows i'm doing the same as PocketMine does here: https://github.com/pmmp/PocketMine-...7077432f3c045/src/pocketmine/item/Bow.php#L53 The problem is i have no idea how to calculate the arrow motion from a player position. I think the motion Y is related to the distance from the target but i'm stuck here, any help is appreciated