overlap of collides problem
Nexo55
Member Posts: 48
hi,
my problem.
I am an object collides with another object overlap between.
but as long as the objects to each other if touches running cycle.
s the first time I just touches work, I want them to stop.
Let him only once for an object code.
my problem.
I am an object collides with another object overlap between.
but as long as the objects to each other if touches running cycle.
s the first time I just touches work, I want them to stop.
Let him only once for an object code.
Comments
Hi @Nexo55
Make sure all of your objects are given the same tag. Name the tag, for instance, AllObjects.
In each of your Object rules, put:
Rule: When actor overlaps or collides with actor with tag AllObjects
Rule set to Any (nested in above Rule): When self.Motion.Linear Velocity.X > 0
--or-- self.Motion.Linear Velocity.Y > 0
Change Velocity Speed 0
This is not tested but I hope it helps.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps