How to detect collision on sides of square vs. top of square?

ameliathameliath Member, PRO Posts: 3

How do I go about detecting collision on the sides of a square instead of the top? I need a different behavior to occur when the sides are collided vs. the top.

I have seen some tutorials about detecting top and bottom (Jamie Cross's tutorial) but I am confused how I can detect the left and right sides instead of top and bottom.

Sign In or Register to comment.