Getting the instance number of a collided object

Get help using Construct 2

Post » Tue Apr 23, 2013 9:42 pm

Okay, so what I'm trying to do is make it so if one instance of an object collides with another instance of the same object, it will repel the first one away from the second one. However, it's proving difficult to get the object to avoid repelling from itself. However, if I could get the instance of the object that it collides with, it would be much easier.
Thanks!
B
4
Posts: 3
Reputation: 306

Post » Tue Apr 23, 2013 9:51 pm

https://www.scirra.com/manual/124/system-conditions

Pick nth Instance is what you want. About halfway down the page.
B
15
S
5
G
7
Posts: 877
Reputation: 5,650


Return to How do I....?

Who is online

Users browsing this forum: Scofano and 22 guests