I have one ball and its collide with + sign stick in black. And its continue rotate. But I have collide rule. so its collide with + sign transperant areas. How do I avoid it? Please let me know. Thanks.
you will need to draw two rectangles and constrain them to this actor and add collision rules to them instead. Then it will not collide with clear areas.
you will also need to go into the actors rules and add rotate so they line up correctly.
The true test will be getting it to rotate correctly if you have the rotate rules to both rectangles and the ball hits both.
You may want to add a new attribute, call it hit or something, and on collision change attribute hit to true, and then a rule, if hit is true, rotate... otherwise, hit=false
Comments
http://gamesalad.com/forums/topic.php?id=25868
you will need to draw two rectangles and constrain them to this actor and add collision rules to them instead. Then it will not collide with clear areas.
you will also need to go into the actors rules and add rotate so they line up correctly.
The true test will be getting it to rotate correctly if you have the rotate rules to both rectangles and the ball hits both.
You may want to add a new attribute, call it hit or something, and on collision change attribute hit to true, and then a rule, if hit is true, rotate... otherwise, hit=false