#Look at player
70 messages · Page 1 of 1 (latest)
saved
LABEL Label0
SET Player.SelId Player.LocalId
SET Player.SelPart 0
SET blk2.Rot.X Player.Rot.X
SET blk2.Rot.Y Player.Rot.Y
GOTO Label0
condensed a bit
i also have 0 idea what atan2 does
puts things inside of a R im assumeiny
ATAN2 (arctangent2) does not put things inside of the R. ATAN2 is just a block to help something look at a block or player easier.
I think
oh
that will set the text to be where im looking, instead of the text looking at me
h
ok
Ok, now how do you make it follow you by the y rot?
I know it follows you left and right, but how can you make it to where it follows you up and down too?
ok
to be honest, all you had to do was copy this #1449216250222743642 message code and set the other block to player with selid to localid and selpart to constant 0-4
Does this only work with signs because I’ve just done this with a sign grouped to particles and it’s not working…
Nevermind I made a silly mistake it’s working now 😫
SET Player.SelId Player.LocalId
LABEL Loop
SUB R0 Player.Pos.X grp1.Pos.X
SUB R1 Player.Pos.Y grp1.Pos.Y
SUB R2 Player.Pos.Z grp1.Pos.Z
ATAN2 R3 R0 R2
SET grp1.Rot.Y R3
MUL R4 R0 R0
MUL R5 R2 R2
ADD R4 R4 R5
SQRT R4 R4
ATAN2 R6 R1 R4
SUB R6 0 R6
SET grp1.Rot.X R6
SLEEP 0
GOTO Loop
i made it work 3d
thank u
Canmod give me weeping angel code
Cannot supply that request.
Bruh gf zfixluzrullxf@( guy of dozing
Canmod. H of of footy pj Lou duo duo do pricey
Message unclear. Need simple words.
Canmod ok
Moderator mode noted. System stable.
wow
its quite simple
just triggers and code
i only used 7 lines of code and 1 trigger for my code
This code is a bit less effective, it is better to have it actually face you in vr instead of just appearing to face you like this code dose, and atan2, or just arctangent 2 finds the angle from one point to another basically
ok
Maybe make a trigger block that goes onto the players face and when it’s not touching the weeping angel it runs tge code
a
YEAHH
it actually has a problem when you go ontop or on the bottom of it
which is that it freaks out
@marble basin If you dont Mind me asking, how do you making it so it also looks at you up and down not just left and right.
i've got code for that but my headsets charging
LABEL Loop
SUB R0 Player.Pos.X grp1.Pos.X
SUB R1 Player.Pos.Y grp1.Pos.Y
SUB R2 Player.Pos.Z grp1.Pos.Z
ATAN2 R3 R0 R2
SET grp1.Rot.Y R3
MUL R4 R0 R0
MUL R5 R2 R2
ADD R4 R4 R5
SQRT R4 R4
ATAN2 R6 R1 R4
SUB R6 0 R6
SET grp1.Rot.X R6
SLEEP 0
GOTO Loop ```
This is the same code that I use, it works by using the pythagorean theorm calculate angle that the second rotation should move your player at
Btw I found that ashrabbit made this code earlier in the thread but it will work
fun fact, people thought Pythagoras was God and his followers believed he had a golden thigh, could be in two places at once, and commanded animals.
Was that common thinking before pythagorean theorem was reall used?
Cool
Wo
do u have a smooth version?
its in "Smooth Look Script"
Col
i need this!
cant fiiiind
Ima use this for my owner tag above me
maybe try removing the last set and just do sign.Pos.Y
hi

This ones better:
LABEL Label1
SET Player.SelId Player.LocalId
SUB R0 grp1.Pos.X Player.Pos.X
SUB R1 grp1.Pos.Z Player.Pos.Z
SUB R3 grp1.Pos.Y Player.Pos.Y
MUL R4 R0 R0
MUL R5 R1 R1
ADD R5 R5 R4
SQRT R5 R5
ATAN2 R5 R3 R5
ATAN2 R2 R0 R1
SUB R5 0 R5
SET grp1.Rot.Y R2
SET grp1.Rot.X R5
SLEEP 0
GOTO Label1
LABEL Label1
SET Player.SelId Player.LocalId
SUB R0 grp1.Pos.X Player.Pos.X
SUB R1 grp1.Pos.Z Player.Pos.Z
SUB R3 grp1.Pos.Y Player.Pos.Y
MUL R4 R0 R0
MUL R5 R1 R1
ADD R5 R5 R4
SQRT R5 R5
ATAN2 R5 R3 R5
ATAN2 R2 R0 R1
SUB R5 0 R5
SET grp1.Rot.Y R2
SET grp1.Rot.X R5
SLEEP 0
GOTO Label1
LABEL Loop
SUB R0 Player.Pos.X sign.Pos.X
SUB R1 Player.Pos.Z sign.Pos.Z
ATAN2 R2 R0 R1
SET sign.Rot.Y R2
GOTO Loop```
how do i fix this
I used your code
change the pivot
that's only one axis tho
pivot point
