collision movement problem
![tgunn](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
in my game i would like each of the mimics to move all the way to the right and left it seem that only only the other eade one touch the wall.
wall | A B B B A | wall
what is happening is when right A touches the left wall everything start to move to the right all the A and B's.
and the same with with the right A it touched the right wall and every bounces the opposite way.
what i would like to happen is the left A hits the left wall then goes right to the opposite wall and then do the same but the other letters continue traveling till they hit a wall. passing thru any letter till he gets to the other side moving back and forth. independent of the other letters. instead of working as a block unit.
i tried doing the moments in the editor window and unlocking each letter but that did not work.
thanks
Tommy
wall | A B B B A | wall
what is happening is when right A touches the left wall everything start to move to the right all the A and B's.
and the same with with the right A it touched the right wall and every bounces the opposite way.
what i would like to happen is the left A hits the left wall then goes right to the opposite wall and then do the same but the other letters continue traveling till they hit a wall. passing thru any letter till he gets to the other side moving back and forth. independent of the other letters. instead of working as a block unit.
i tried doing the moments in the editor window and unlocking each letter but that did not work.
thanks
Tommy
Answers
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
and you can see what the problem is. don't know if it is the wall because even the guy who move if hit goes against the walls he starts spinning around. too.
You might also just try the following rule in each letter:
When actor overlaps or collides with wall --> change attribute self.motion.linear velocity.x to self.motion.linear velocity.x*-1
And see if that works for you.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User