making two spawn actors move in sync
heggebø
Member Posts: 1
hi! I'm new to the gamesalad, so ofc i have a problem,
I'm trying to make two platforms move perfectly aligned vertically. but also have the possibility to move them horizontaly.
i have searched the forum but only found resolutions to it when you have one platform on screen at the time,
but i have up to 3 at the time, witch causes the constrained one to jump down to the next platform rising up and not finishing the entire move across the screen, instead of spawning a new one to follow.
is there a solution to this??
another solution i thought of is using one actor but i can't find out how to make a collision free zone in the "middle". is there a way to merge 2 actors to 1 .... ????
help would be appreciated.
Comments
Assuming I'm correctly understanding what you're saying, an easy solution would be to have two real game attributes - one for X and one for Y. Constrain the X and Y positions of each spawned platform to the game.X and game.Y (with offsets to account for their spawned positions). Then change the game.X and game.Y as required to move the platforms in the way you want.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
the two platforms go like this ______ _______
and should spawn more like this ______ ________
so on and so on... ______ ________
but it does this _____ ______
_____ -----
_____ ----
_____
_____
and if i constrain it it does this:
what can i do to fix it
I'm sorry I have no idea what you're trying to say there.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support