Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Contributor
Posts: 5
Registered: ‎01-04-2011
My Device: Not Specified

how to perform Basic collision detection of two objects

I wanted to know basic collision detection code for Black Berry. Can anyone share collision detection code with me,

 

thank in advance

Developer
Posts: 19,631
Registered: ‎07-14-2008
My Device: Not Specified

Re: how to perform Basic collision detection of two objects

Sorry, this is probably something I am missing from my school days, but what is collision detection?  What things are colliding?

New Contributor
Posts: 5
Registered: ‎01-04-2011
My Device: Not Specified

Re: how to perform Basic collision detection of two objects

A ball is colliding with a brick in FullScreen. Need to have a dynamic and basic algorithem or code to do this thing

Highlighted
Developer
Posts: 19,631
Registered: ‎07-14-2008
My Device: Not Specified

Re: how to perform Basic collision detection of two objects

My feeling is that this is a more general Java question, rather than a specific Blackberry question, so I would look else where for sample algorithms.  This forum is targeted towards Blackberry specific issues. 

Developer
Posts: 133
Registered: ‎04-30-2010
My Device: Curve 8520
My Carrier: T-Mobile

Re: how to perform Basic collision detection of two objects

Take a look here: http://www.toniwestbrook.com/archives/73 and the related articles