how to solve Box Collider corner problem ?
Hi,
I'm working on a "Break Out" game. I have ball with sphere collider and bricks with box collider. Brick is throwing my ball to random direction.
For an example: Think about a ball which is has a horizontal velocity. When it collision to up left corner of brick, It's going up with totally vertical velocity like (Vector3 ( 0,1,0 )). I know it's normal physic but i don'T want this. I just want my ball to come back when it collision with up left corner ( or upright or downs, doesn'T matter ) of brick. How can i do this?
And sorry for my english. :)
Comment
you can cheek the tag of Break & then apply a negative Y velocity & random X velocity .