I am trying to teleport an armor stand to myself so that its head rotation matches my own not only on the y axis, but also on the x axis. My research has brought nothing, as most seem to want teleportation with no rotational change. Please help.
Also, as a side note, is there any known way to lessen the lag found in repeatedly teleporting a thing to your position, as I want the armor stand on me, not following behind me.
/execute as <player> at @s run tp <armor_stand> ~ ~ ~ ~ ~
Also, this "lag" you are experiencing with the tp command is not lag at all. It's just how the game works, commands take time to parse and execute so the teleportation isn't instant.
The command you have given me only affects the armor stands left/right rotation. I want the stand to follow the head rotation of the player, when looking down, the armor stand should also "look down".
Pertaining to the less than instant teleporting, do you think some workaround with compensation teleporting commands, such as having everything teleport forward relationaly whenever w is pressed so the stand can keep up?
I am trying to teleport an armor stand to myself so that its head rotation matches my own not only on the y axis, but also on the x axis. My research has brought nothing, as most seem to want teleportation with no rotational change. Please help.
Also, as a side note, is there any known way to lessen the lag found in repeatedly teleporting a thing to your position, as I want the armor stand on me, not following behind me.
Try this:
Also, this "lag" you are experiencing with the tp command is not lag at all. It's just how the game works, commands take time to parse and execute so the teleportation isn't instant.
Command block engineer // Developer // #TeamTrees
The command you have given me only affects the armor stands left/right rotation. I want the stand to follow the head rotation of the player, when looking down, the armor stand should also "look down".
Pertaining to the less than instant teleporting, do you think some workaround with compensation teleporting commands, such as having everything teleport forward relationaly whenever w is pressed so the stand can keep up?
The command will modify the armor stands head rotation as well, you can test this by running this command in a repeating command block:
an armor stand's head will only visibly rotate if you assign a rotation to it using the Pose:{} tag.
Command block engineer // Developer // #TeamTrees