Skip to content

Add possibility to have an 'anchor' #2

Description

@mvriel

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.

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