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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
New Contributor
qasibeat
Posts: 5
Registered: ‎01-04-2011

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

Please use plain text.
Developer
peter_strange
Posts: 17,952
Registered: ‎07-14-2008

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?

Please use plain text.
New Contributor
qasibeat
Posts: 5
Registered: ‎01-04-2011

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

Please use plain text.
Developer
peter_strange
Posts: 17,952
Registered: ‎07-14-2008

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. 

Please use plain text.
Developer
paulkayuk
Posts: 131
Registered: ‎04-30-2010
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

Please use plain text.