Newbie: collision detection

Hi,

I am a newbie at this topic, I hope you can help me :)

I have a JPanel with a certain size. There are 2 objects (start- and goal-point) , simply painted with drawOval. There is a 3rd object which represents a certain barrier (drawOval again).

I now just would like to check if there is a collision if a player would go straight from start to goal point (is the barriere between start and goal?).

I read that maybe java.awt.geom.Area could help me, but I have no point where to start. Maybe you can give me some hints to tutorials or code samples?

Thanks a lot!

[601 byte] By [SFLa] at [2007-10-2 16:59:06]
# 1
I believe this is covered in the 3D tutorial and even has code samples.
morgalra at 2007-7-13 18:12:24 > top of Java-index,Other Topics,Java Game Development...
# 2
Oh... where is the 3D tutorial? I just know this tutorial website: http://java.sun.com/docs/books/tutorial/index.html
SFLa at 2007-7-13 18:12:24 > top of Java-index,Other Topics,Java Game Development...
# 3

Here is the page to all the tutorials:

http://java.sun.com/developer/onlineTraining/index.html

or graphics on one of the links found there:

http://java.sun.com/developer/onlineTraining/Media/

or the 3D specifically:

http://java.sun.com/developer/onlineTraining/java3d/

morgalra at 2007-7-13 18:12:24 > top of Java-index,Other Topics,Java Game Development...