SpockBotMC / SpockBot

High level Python framework for building Minecraft clients and bots.
MIT License
198 stars 47 forks source link

Vertical Vectors Not Applying Under Normal Conditions #48

Closed ghost closed 9 years ago

ghost commented 9 years ago

Vectors that instruct the player to move up, i.e. the jump method (and manually applied vectors) only "Activate" when the player isn't on the ground.

def onTick(self,,_): self.physics.jump() The code above executes every tick, for instance. When I break the block under the player, they do a little hop before falling down.

gamingrobot commented 9 years ago

This is known bug because physics events are not queued. Also the collision gets a little funky because its very basic at the moment.

Gjum commented 9 years ago

@ThePixelPony fyi, a more complete physics plugin is in the works right now.

ghost commented 9 years ago

@Gjum, nice! I have quit Minecraft ages ago now but it's nice to see that this is continuing.

Gjum commented 9 years ago

Related PR https://github.com/SpockBotMC/SpockBot/pull/88

nickelpro commented 9 years ago

This is long fixed, Physics is merged and much improved upon