Moveable when collide, immovable when not colliding with anything?
rickyniko
Member Posts: 85
Hi, is there a way to make an actor(1) moveable when it is colliding with actor(2), and then switch to immovable once its not touching actor(2)?
Comments
Rule
When all conditions are valid:
Overlaps or collides with Actor of type Actor 2
-----[place movement code here]
otherwise
-----[place stop movement code here]
That's the basic premise...
Rule
When all conditions are valid:
Overlaps or collides with Actor of type Actor 2
-----[nothing goes here]
otherwise
-----Change Attribute: self.Motion.Linear.X to: 0
-----Change Attribute: self.Motion.Linear.Y to: 0