Open yumianhuli2 opened 4 years ago
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..
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^_^ So I want to know where is the formula and code for the direction of the player! Thank you very much!
void Match::GetTeamState(SharedInfo state,
std::map<IHIDevice , int> &controller_mapping,
int team_id) {
DO_VALIDATION;
std::vector
And I did not get the answer from this https://github.com/google-research/football/issues/145, so plz help me!^_^! source link is here: https://github.com/google-research/football/tree/master/third_party/gfootball_engine
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 :)
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 :)
^_^
Ahh, ya veo ... pero no tengo idea sobre el código de Google, y realmente no tengo el tiempo ni la energía para ayudar a las personas con código personalizado. Espero que alguien más pueda venir y ayudarte aquí, así que dejaré este tema abierto. Buena suerte :)
^ _ ^
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!!!