View.zoom(entity) for entities outside the context?
-
I wanted to make the camera zoom to an entity within a group or component.
I can't just pass that entity to the zoom method as it is unaware of the transformation of the parent - it assumes the entity is in the current context.
So is there a workaround for this? -
Using
view.zoom(entity)- then transforming the camera'seye,targetandupworked.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement