Way to avoid using constrains XY
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?
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