Forum

Breakout needs ODE collision indication


#1

Hi,

I’am trying to build an Breakout game with ODE geometrys, like this historic akarde one >> breakout

My Question is whether there is any Method / Index / Spread which indicates if an Objekt was hit by the ball ?

A first Impression is given by the quick and dirty pached file I posted with the message.


#2

hi korriander,

your patch crashes after some secondes on my machine, cant analyze it. but i remember
an older related topic, where i patched a collision detection for spheres by distance calculation: ODE Collision Control

with ode modules, the best ‘method’ i see is to detect changes in angular velocity.