[SOLVED] 'If collide change attribute' not working

jsorr2jsorr2 Member Posts: 279
edited November 2014 in Working with GS (Mac)

I spawn an actor (A), and constrain its X/Y to an actor (B) that moves around the scene. I want a global attribute to change to 'false' if the spawned actor (A) collides with a wall actor (C) and to be 'true' all other times, but when actor (A) collides with wall actor (C), the global attribute doesnt change.

here's my logic:
when actor (A) overlaps/collides with wall actor (C) - change attribute 'Not collided' to false, ELSE change attribute 'Not Collided' to true.

In the previewer, when the 2 actors collide/overlap, nothing changes. 'Not Collided' stays true forever (using the ELSE statement). Am I missing something?

Answers

  • jsorr2jsorr2 Member Posts: 279

    Fixed the problem: Had to change the physics of the actor A, moveable = true....

Sign In or Register to comment.