Quantcast
Channel: VBForums - CodeBank - Visual Basic 6 and earlier
Viewing all articles
Browse latest Browse all 1449

VB6 2D Physic Engine

$
0
0
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 !


(Later I'll put the code on GitHub)


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


LICENSE: BSD. This allows you to use its source code in any application, commercial or otherwise,
if you supply proper attribution. Proper attribution includes a notice of copyright and disclaimer
of warranty. (https://opensource.org/licenses/BSD-2-Clause)


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


Attached Files

Viewing all articles
Browse latest Browse all 1449

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>