Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added direction argument to enable only movement in x or y direction #68

Merged
merged 1 commit into from
Feb 12, 2017

Conversation

AliciaSchep
Copy link
Contributor

This is a fairly basic implementation of the ability to enable only movement in x or y direction. Simply limits the force to being exerted in that direction. The direction argument takes in either "both","x", or "y" with "both" as default.

Addresses #25

x direction:

direction_x-1

y direction:

direction_y-1

@slowkow slowkow merged commit 2372a26 into slowkow:master Feb 12, 2017
@slowkow
Copy link
Owner

slowkow commented Feb 12, 2017

@AliciaSchep Thank you! A lot of people (including me) will be happy about this feature 😄

You are now a contributor 👍

@bhaskarvk
Copy link

Thanks for this feature.

@AliciaSchep AliciaSchep deleted the direction branch February 19, 2017 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants