#How would you get if you are not looking at a player?
1 messages · Page 1 of 1 (latest)
dot product
subtract
normalize
get position
get head forward vector
greater than
img? if can
i dont feel like it
Vector3 dot. LHS and RHS doesn’t matter, but put the looking direction in one, and the player direction in the other (their position - your position) and the result will give a number that is how accurately you are looking to the player
cools
so then how do we tell if they are in the field of view, like what number
It would say true in the and if they are and false if not
this is what we have
Place the less than chips
Hi I need help
thats crazy
i flickers between true and false or stays false when i directly look at someone
Hold on I’m gonna have to be afk for like a few minutes but make sure it’s like the picture
ok
@patent agate we got it working, any changes needed? the top less than is thirty and the bottom one is 10 (we found that 30 fov was better than 90 for what we needed)