Screen follow on grid
-
To make the screen follow an object while moving on a grid, you can use the following behaviours:
The chains under 'Add Values' and 'Add Values1' offset the position and then round it. You can change the offset and the screen size by changing the values in those two behaviour chains.
The two 'If' behaviours check whether the new rounded position is different from the one where it already is or is going, and if so the behaviour bundle calculates how far the screen will move and divides it by the speed, then moves to the new location with that duration.If you want a speed of 0 or you don't care about having a constant speed for the screen moving, you can remove some of the behaviours like this:
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 Login