Physics

Description

A Physics module built from clean-rooming the Notchian Minecraft client

Collision detection and resolution is done by a Separating Axis Theorem implementation for concave shapes decomposed into Axis-Aligned Bounding Boxes. This isn’t totally equivalent to vanilla behavior, but it’s faster and Close Enough^TM

AKA this file does Minecraft physics

Events

Undocumented

Methods and Attributes

class spockbot.plugins.helpers.physics.PhysicsCore(pos, vec, abilities)
jump()
move_angle(angle, radians=False)
move_target(vector)
move_vector(vector)
sprint()
walk()