#How to replicate head/torso movement

6 messages · Page 1 of 1 (latest)

maiden aurora
#

I would like to loop through and see if the client can see someone, and if they can, I would like to have that client request the person's camera x/y rotation from the server and then adjust the person's head and torso rotation to match it.

hidden beacon
#

"adjust the person's head and torso rotation to match it." do you mean this as in rotating the entire character? I don't think you need the server to tell you this

#

to tell if a player can "see" another player you would just cast rays between the players and if anything is in the way it will hit something

#

if not

#

they can see each other

#

and if you mean "see" as in really see and not just has a line between them