Announcement

Collapse
No announcement yet.

Breakout Clone Hit detection

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Breakout Clone Hit detection

    I hope this is the correct Forum if not please someone move this.


    I try to do some Breakout clone but something i done know, how i can solve.

    For short description, i have a sphere and a cube. The sphere has an movementvector. So if the sphere hit the cube something has to happen with the movementvector of the sphere.

    If the sphere hit the cube on top or down its easy because i can look for the locations X Value of both and then just turn the X Value of the movementvector. But if i have this how can i solve it when the sphere hit on the site? I'm stuck at this point, maybe its very easy just not see it. How can i get, where the sphere hit the cube?


    Someone have tips for me ?





Working...
X