Open m0re4u opened 2 years ago
Sorry for the long reply. The problem is known and the solution is simple. In Minecraft, there are two instances of the player, on the client side and on the server side. The problem is that we do not update the server side when we should. I'll fix that.
Hi @artemZholus,
Resetting the player position does not seem to work when starting the environment with the action space set to
continuous
.Here's a MWE:
If you look at the final output image, you can see the agent is still floating in mid-air, but the block is gone. Also when the environment is reset, the camera is reset to (0,0). It seems to be a problem in the movement command?
I checked the communication with Malmo, it also seems to generate the fake reset command for
FakeResetCommandImplementation
properly, perhaps thex,y,z
inplayer.setPositionAndRotation(x, y, z, yaw, pitch);
are not set correctly (see CODE) ?This is where I lost track..