-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
About player direction #9
Comments
I have no idea, depends on what all these variables mean :) needs more context.. In general, a direction would be normalized, while movement isn't, so info.player_direction = movement.GetNormalized(0); would make more sense. But it really depends on what you want, where movement comes from, what info.player_direction is, etc.. |
Hello!The context is below from google-football engine,but this engine is from your project^_^ void Match::GetTeamState(SharedInfo *state, And I did not get the answer from this google-research/football#145, |
Ahh I see.. but I have no idea about Google's code, and I don't really have the time or energy to put into helping people with custom code. I hope maybe someone else can come along and help you here, so I'll leave this topic open. Good luck :) |
^_^ |
you could compile the game |
Hello!
Could you plz tell me that the graph below is correct for play direction calculation?
........
info.player_direction =
(movement / GetGameConfig().physics_steps_per_frame).coords;
........
if not,plz tell me the corrent answer!Thank you very much indeed!!!
The text was updated successfully, but these errors were encountered: