Results 1 to 3 of 3
Like Tree1Likes
  • 1 Post By Bushman

Thread: Need that physics

  1. #1
    Bushman is offline Member
    Join Date
    Apr 2012
    Location
    Spainish TOwn
    Posts
    25
    Rep Power
    0

    Default Need that physics

    Because I hate JButtons, JTextFields, JMenuBars, title bars and window opacity, I designed and implemented my own custom gui menu framwork,
    complete with my own custom button class, that can draw any shape, resize dynamically, and custom text field class.

    I want to add 2d physics capabilities that would deliver a system that would:
    1.Allocate mass to circular shapes
    2.Allow application of force
    3.Generate collision and response among falling circular shapes

    This is how the gui looks. You can probably guess what I am trying to accomplish here.


    By bushman21 at 2012-04-16


    VIDEOS:
    Moderator edit: links removed


    I can already write code that bounds circles to a frame, and make them bounce in that frame, but this is not very physics-e at all.
    Give me some clean code that will:
    1.Establish a physical environment/context
    2.Enable me to establish gravity
    3.Enable to establish mass to an abstract circular shape.
    4.Enable me to enable/disable collision response.


    I don't have physics background, but I will probably understand the Math behind it. Thanks.
    Last edited by DarrylBurke; 04-17-2012 at 10:33 AM. Reason: Removed irrelevant video links

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,240
    Rep Power
    19

    Default Re: Need that physics

    The videos you linked to are not relevant to solving your problem. I've removed the links.

    I'm moving this from Advanced Java to Java 2D.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    Bushman is offline Member
    Join Date
    Apr 2012
    Location
    Spainish TOwn
    Posts
    25
    Rep Power
    0

    Default Re: Need that physics

    Why did you remove the videos though, they may have linked peoples to helpful information and codes that I have on the site.
    isuru likes this.

Similar Threads

  1. Physics Engine making constraints
    By sgthale in forum New To Java
    Replies: 8
    Last Post: 05-04-2011, 11:14 PM
  2. 2D Physics Engine making constraints
    By sgthale in forum Advanced Java
    Replies: 2
    Last Post: 04-19-2011, 05:18 AM
  3. Wall bug on physics simulation
    By mustachMan in forum New To Java
    Replies: 2
    Last Post: 07-14-2010, 05:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •