Overlapping Actives in different layers
Event - Active Overlapping Active2 = Active - Set direction "Down"
Event - (Negate) Active Overlapping Active 2 = Active - Set direction "right"
All works fine when on the same layer but when active is on layer 1 and active2 is on layer 2 it doesn't work. even if i replace the overlapping event with
If X Position of Active = X Position of Active2
If Y Position of Active = Y Position of Active2
is there a way of getting it working. am i missing some thing simple?
thanks.
Overlapping Actives in different layers
Event - Active Overlapping Active2 = Active - Set direction "Down"
Event - (Negate) Active Overlapping Active 2 = Active - Set direction "right"
All works fine when on the same layer but when active is on layer 1 and active2 is on layer 2 it doesn't work. even if i replace the overlapping event with
If X Position of Active = X Position of Active2
If Y Position of Active = Y Position of Active2
is there a way of getting it working. am i missing some thing simple?
thanks.
Re: Overlapping Actives in different layers
Objects don't interact with each other unless they're on the same layer. You could create another object on the second layer, fix that to the position of the first-layer object and test for collisions using that.
Re: Overlapping Actives in different layers
Objects don't interact with each other unless they're on the same layer. You could create another object on the second layer, fix that to the position of the first-layer object and test for collisions using that.
Re: Overlapping Actives in different layers
but wouldn't that achieve the same as comparing the Active and Active2 X and Y positions?
Re: Overlapping Actives in different layers
but wouldn't that achieve the same as comparing the Active and Active2 X and Y positions?