Engage/lock 2 actors exact side by side
Creator97
Member Posts: 140
How can i engage/lock actors side by side with no room between the two actors. I know i can use the arrows but it s nothing exact.
Best Answer
-
jamie_c ImagineLabs.rocks Posts: 5,772
Double click the actor in the scene and you can adjust it's X and Y location precisely in it's settings window. That way you can align things exactly as you need them, manually.
Answers
Just use x and y constraints. If both actors are not spawned and are originally loaded in the scene then you will not have to create global attributes.
Self.x position to scene layer second actor self.position x + or - a number.
Big Smile Games Play Happy!
Check out our other GameSalad exclusives.
I think i didn t explained the question that good. I meant when i am actually building the app, not when i am inside the preview.
Let s say i have two walls and i want them to exactly together because when one is just laying one pixel higher than the other one then my actor will stop at the second wall when its moving with x velocity and not jumping at all.
Do you know what i mean? Or did i just not get it what you said. I am actually a beginner.