Make Object Move Toward Another Same Type Of Object ?

Get help using Construct 2

Post » Fri Mar 17, 2017 2:29 pm

ok.. so lets say... i only have 1 type of object.. so lets call it a "block" soo.. on start of layout there will be 2 blocks.. both of them are the same object.. but they will spawn in random position and.. every tick.. they will move toward each other.. so i tried to use everytick.. move toward block... it didnt work.. i tried to use for each instance.. pick nearest and futhest "Block" but they just picking themself.. and none of them move.. help ?
B
8
S
3
Posts: 46
Reputation: 708

Post » Fri Mar 17, 2017 3:41 pm

AnotherUser wrote:ok.. so lets say... i only have 1 type of object.. so lets call it a "block" soo.. on start of layout there will be 2 blocks.. both of them are the same object.. but they will spawn in random position and.. every tick.. they will move toward each other.. so i tried to use everytick.. move toward block... it didnt work.. i tried to use for each instance.. pick nearest and futhest "Block" but they just picking themself.. and none of them move.. help ?



https://www.dropbox.com/s/55b0vu11thto5by/MoveBlocks.capx?dl=0
B
40
S
22
G
81
Posts: 297
Reputation: 44,735


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 24 guests