Hello, do you have a code snippet that shows how to do these rotations? Are you doing it with TP or vectors? Are you using snapshot 23w06a? Greetings, nice video.
1. summon three markers that have two tags that one different tag and one same tag summon marker ~ ~ ~ {Tags:[m,m1]} summon marker ~ ~ ~ {Tags:[m,m2]} summon marker ~ ~ ~ {Tags:[m,m3]} 2. The first(m1) marker looks straight ahead. execute as @e[tag=m1] at @s rotated as @p run tp @s ~ ~ ~ ~ ~ 3. The second(m2) marker looks to the right. execute as @e[tag=m2] at @s rotated as @p facing ^1 ^ ^ run tp @s ~ ~ ~ ~ ~ 4. The third(m3) marker looks back. execute as @e[tag=m2] at @s rotated as @p facing ^ ^ ^1 run tp @s ~ ~ ~ ~ ~ The above commands only need to be executed once. The commands below are put into the repeating command block. 1. Rotate the gaze angle using positioned and facing. For m2, put the tangent value of the angle you want. execute as @e[tag=m1] at @s positioned ^ ^ ^1 rotated as @e[tag=m2] positioned ^ ^ ^tan(θ) facing entity @s facing ^ ^ ^-1 positioned as @s run tp @s ~ ~ ~ ~ ~ 2. tp m2 and m3. execute as @e[tag=m2] at @s positioned ^ ^ ^1 rotated as @e[tag=m3] positioned ^ ^ ^tan(θ) facing entity @s facing ^ ^ ^-1 positioned as @s run tp @s ~ ~ ~ ~ ~ execute as @e[tag=m3] at @s rotated as @e[tag=m1] facing ^ ^ ^-1 run tp @s ~ ~ ~ ~ ~ This command has some errors, so it needs to initialize the rotation value of the marker every 360 degrees.
Hello, do you have a code snippet that shows how to do these rotations? Are you doing it with TP or vectors?
Are you using snapshot 23w06a?
Greetings, nice video.
1. summon three markers that have two tags that one different tag and one same tag
summon marker ~ ~ ~ {Tags:[m,m1]}
summon marker ~ ~ ~ {Tags:[m,m2]}
summon marker ~ ~ ~ {Tags:[m,m3]}
2. The first(m1) marker looks straight ahead.
execute as @e[tag=m1] at @s rotated as @p run tp @s ~ ~ ~ ~ ~
3. The second(m2) marker looks to the right.
execute as @e[tag=m2] at @s rotated as @p facing ^1 ^ ^ run tp @s ~ ~ ~ ~ ~
4. The third(m3) marker looks back.
execute as @e[tag=m2] at @s rotated as @p facing ^ ^ ^1 run tp @s ~ ~ ~ ~ ~
The above commands only need to be executed once. The commands below are put into the repeating command block.
1. Rotate the gaze angle using positioned and facing. For m2, put the tangent value of the angle you want.
execute as @e[tag=m1] at @s positioned ^ ^ ^1 rotated as @e[tag=m2] positioned ^ ^ ^tan(θ) facing entity @s facing ^ ^ ^-1 positioned as @s run tp @s ~ ~ ~ ~ ~
2. tp m2 and m3.
execute as @e[tag=m2] at @s positioned ^ ^ ^1 rotated as @e[tag=m3] positioned ^ ^ ^tan(θ) facing entity @s facing ^ ^ ^-1 positioned as @s run tp @s ~ ~ ~ ~ ~
execute as @e[tag=m3] at @s rotated as @e[tag=m1] facing ^ ^ ^-1 run tp @s ~ ~ ~ ~ ~
This command has some errors, so it needs to initialize the rotation value of the marker every 360 degrees.
@@minecraft.6626 Thank you very much for the explanation :) good job, I managed to understand everything
도르마무 거래를 하러왔다
Very cool