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

Add possibility to have an 'anchor' #2

Open
mvriel opened this issue Mar 3, 2017 · 0 comments
Open

Add possibility to have an 'anchor' #2

mvriel opened this issue Mar 3, 2017 · 0 comments

Comments

@mvriel
Copy link
Contributor

mvriel commented Mar 3, 2017

On cloud workers it is not relevant where the origin is as long as the given game objects are within the given Dimensions. For Clients it would however be better if the centre of the new position tries to match an anchor (usually the Camera or player object) as much as possible.

This is nice because floating point imprecisions may be visible at the edges of the dimensions (depending on how large of an area you set) and by preferring the anchor to be in the center of the shift area it will have the least jitter.

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

No branches or pull requests

1 participant