Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Detect Side Of Collision

$
0
0
For my first Unity 2D project, I am making a simple brick breaking game. I am currently stuck trying to figure out which side of these green squares that my circle ball is colliding with. All the examples online I used did not work, nor has anything I logged made sense.

The collision.transform has the same value regardless which side my ball collides with.

The outer green square is the game bounds, if the ball hits the bottom that ball is dead, all other sides the ball will redirect....

Detect Side Of Collision

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>