Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Do all the clients send a transformation matrix for each of the hit boxes which make up the character?

share|improve this question

1 Answer 1

The server is running the game as well. And because it's transmitting your character's transform to every other client, it knows where you are. It can work out your character's hit boxes in exactly the same way that the client does.

Sending the hit boxes' location up to the server would be a recipe for exploits. There'd be an extremely trivial hack that simply makes you invulnerable, if that was the chosen mechanism (just send the server fake hit box information off in the middle of nowhere).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.