Teleport an armorstand facing another armorstand with pitch (head rotation)
//ads -- adsterra.com -- native banner
?>
I am making a one command sphere generator in Minecraft, and I am almost done, but I have one problem. I teleport all the armorstands that make up the sphere facing the middle but their head pitch doesn't face the middle, is there a way to do this?
I currently use this command:
execute as @e[tag=sphere_body, type=minecraft:armor_stand] at @s if score @e[type=armor_stand, tag=sphere,limit=1] pitch matches -90 run teleport @s ~ ~ ~ facing entity @e[type=armor_stand, tag=sphere,limit=1]
The pitch scoreboard holds the pitch of the armorstand that is creating the sphere.
Pictures about "Teleport an armorstand facing another armorstand with pitch (head rotation)"



All Armor stand Commands for 1.16.4+ | Comamnd Tutorial
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: cottonbro, Polina Tankilevitch, Anna Tarazevich, Tima Miroshnichenko
