hey I have been using the step_game() function to skip to the next frame (like hitting space) but it doesn't seem to work on the Mac, it just skips to the end of that game. has anyone seen this before or have any idea how to fix it?
It will skip the rest of the game if you keep calling it with a hook like "enter_freeze". Your script skips to the next turn right after the previous one ended. You can see that happen if you put there something like echo(get_world_state().match_frame)
Hey, thanks for your quick reply. The problem was that it looked like it was only calling next-turn once, when I restarted toribash it showed that it was calling next_turn repeatedly. Thanks again for your help!
here is a question for you, I have been using set_joint_state under the assumption that the joints started at index 1 but as i read here the joint indexes start at 0. The problem with this is that when I change my script to start at 0 I get an error. What is the correct index?