Way to avoid using constrains XY

bluebyu25bluebyu25 Member Posts: 500
edited November -1 in Working with GS (Mac)
Hey guys I have a bunch of platforms in my scene. I want to AVOID constraining a global attribute of their X/Y positions. That being said, I need these platforms to never overlap or collide...and if they do I need them to change position. A temporary fix looked like this:

If actor overlaps or collides with platfors:

change att: self.pos.x. to self.pos.x.(-50,50)

Sometimes this works, but after this rule triggers some of the time they will still be on top of each other.

How would you guys go about it?

Comments

  • bluebyu25bluebyu25 Member Posts: 500
    Only problem is we are dealing with the same actors so I dont think I could make that work. Still trying to find a solution
Sign In or Register to comment.