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

Consider splitting pivot point to pivot and origin points #284

Open
tzachshabtay opened this issue Apr 17, 2018 · 0 comments
Open

Consider splitting pivot point to pivot and origin points #284

tzachshabtay opened this issue Apr 17, 2018 · 0 comments

Comments

@tzachshabtay
Copy link
Owner

Our pivot point controls where an object is rotated/scaled from and also where we consider the "x,y" position of the entity to be.
That second aspect can be separated to a second point, the origin point, which might be different than the pivot point. This can be useful, if, for example, you want to rotate from the center but still align to other objects based on the bottom left point.
Otoh, it might increase complexity (and is it less intuitive?), so not sure about it.

GDevelop (https://gdevelop-app.com/) is an example of an engine which seems to have this concept (separated pivot and origin points).

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

No branches or pull requests

1 participant