Results 1 to 7 of 7

Thread: [VB6] 2D Physic Engine

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2010
    Location
    Italy
    Posts
    678

    [VB6] 2D Physic Engine

    VB6 port of 2D Impulse Engine
    by Randy Gaul:
    http://www.randygaul.net/projects-op...mpulse-engine/
    and Philip Diffenderfer:
    https://github.com/ClickerMonkey/ImpulseEngine

    + (Experimental) Joints by the Author

    Author: Roberto Mior (aka reexre,miorsoft)
    Contibutors: yet none.

    Never found a VB6 implementation of a simple 2D physic engine. So I come to a VB6 version starting from
    Randy Gaul 2D impulse engine (and Philip Diffenderfer java port).

    I also added other things such as
    • +Joints (Not so perfect, look for someone to suggest better implementation)
    • +Collision Groups (To make some objects not collide with every objects)
    • +collsions callback events
    • +Polygon Chamfer



    This is the old thread of this project , Since it works quite well I decided to put it in the CodeBank session.
    Now instead of a number of modules I compacted them to 1 class and 1 module.

    Suggestions and improvements are wellcome !





    Requires:
    * vbRichClient (for Render) http://vbrichclient.com/#/en/About/


    LICENSE: BSD. (https://opensource.org/licenses/BSD-2-Clause)


    Copyright © 2017 by Roberto Mior (Aka reexre,miorsoft)




    Github Page

    ZIP




  2. #2
    Frenzied Member
    Join Date
    Apr 2012
    Posts
    1,253

    Re: VB6 2D Physic Engine

    Hi reexre, you do know that vbRichClient provides access to the Chipmunk physics engine, I presume?
    If you don't know where you're going, any road will take you there...

    My VB6 love-children: Vee-Hive and Vee-Launcher

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2010
    Location
    Italy
    Posts
    678

    Re: VB6 2D Physic Engine

    UPDATE: 1.0.147
    Better Joints:
    (see "1.0.147" comments)


    @ColinE66
    Yes I know, I'd like to see some good examples (Links wellcome) on how to use it. But found very few, and If I remember well, none of them about "Joints".
    It is missing collision event: A event fired at each collision to describe it (Position, Normal , Velocity ....) that for some kind of project it is a must.
    I made this project with the pourpose it could/will be improved and customized, ... also I enjoyed doing the code translation and my own joints.

  4. #4

  5. #5
    Frenzied Member
    Join Date
    Apr 2012
    Posts
    1,253

    Re: VB6 2D Physic Engine

    OK. Just thought I'd point it out in case you weren't aware
    If you don't know where you're going, any road will take you there...

    My VB6 love-children: Vee-Hive and Vee-Launcher

  6. #6

  7. #7
    Addicted Member
    Join Date
    Jan 2010
    Posts
    250

    Re: [VB6] 2D Physic Engine

    amazing work..amazing...

Posting Permissions

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



Click Here to Expand Forum to Full Width