Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Collision Detection

  1. #1
    Junior Member
    Join Date
    Sep 2013
    Posts
    7
    My Mood
    Inspired
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Collision Detection

    I have been trying to work on collision detection between 2 rectangles for quite some time now and am unable to do it. I don't get how to implement getters and setters. I get the whole concept but I'm still sort of new, in a way, to java. I guess what I am asking is if someone can post a snippet of code showing the collision detection between 2 rectangles in a java applet. Thanks


  2. #2
    Member Kewish's Avatar
    Join Date
    Apr 2013
    Location
    Australia
    Posts
    116
    Thanks
    10
    Thanked 17 Times in 14 Posts

    Default Re: Collision Detection

    A quick google session for "Collision Detection Java" produced at least 4 links very high in the results that would be beneficial to you. What have you tried?

    You've posted in the What's Wrong With My Code subforum, usually you'd have some code to post along with some questions.

Similar Threads

  1. Collision Detection
    By Jobrien15 in forum Java Programming Tutorials
    Replies: 1
    Last Post: October 2nd, 2013, 09:46 AM
  2. Collision detection
    By Cutupangels in forum What's Wrong With My Code?
    Replies: 2
    Last Post: September 10th, 2013, 08:48 PM
  3. Trouble with Collision Detection
    By Gravity Games in forum What's Wrong With My Code?
    Replies: 11
    Last Post: September 6th, 2012, 03:00 PM
  4. Collision Detection Between Two Squares
    By thegreatzo in forum Loops & Control Statements
    Replies: 7
    Last Post: August 22nd, 2012, 10:13 AM
  5. 2D Collision Detection
    By Cuju in forum What's Wrong With My Code?
    Replies: 1
    Last Post: April 3rd, 2010, 11:39 AM

Tags for this Thread