Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.
This repository was archived by the owner on Feb 11, 2025. It is now read-only.

Gravity is always on? Drifting? #20

Description

@quentinfool

Gravity
It seems that when moving a sprite, it always goes faster moving down?
This happens even when
play.set_gravity(vertical=[any_number or None], horizontal=None)
or
ant.start_physics(can_move=True, stable=True, x_speed=0, y_speed=0, obeys_gravity=False, bounciness=0, mass=10, friction=999.0)
or even
ant.stop_physics()

Drifting
And figeting with physics (bounciness, mass, friction), I could not prevent the sprite from "drifting" when obeys_gravity=False, without turning physics off

my full example is attached, based on pieces from the documentation. I am really excited about this quick Python GUI tool.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions