check this great physic tool, who would like to make something like this in B4j??
http://www.algodoo.com/
http://www.algodoo.com/
They have scientists, developers and engineers!
Did you try my JBox2D library with B4J? It should work as it does not use the Android API.check this great physic tool, who would like to make something like this in B4j??
Did I win the 100$?
Oh damn ! I already spent these 100$...only if you port it to IOS/B4i as this is Ilan's main concern![]()
also... is there any accelation on IOS that can be used or is that used by default?
you deserve much more for your great libs, anyway @sorex is right, the main goal is to create a core only class to be able to use it inDid I win the 100$?![]()
In this case, the first thing to read is https://en.wikipedia.org/wiki/Collision_detectioni think its default.
you deserve much more for your great libs, anyway @sorex is right, the main goal is to create a core only class to be able to use it in
b4i and also b4j. if box2d works on b4j then this is great news, i will need to try it out.
i think it should not be so hard to create a great physic engine (not like box2d). it only should have physic object and a good collision detecting method that will check
collision for different shape types and not only squares.
i will start work on it, maybe i will win those 100$
anyway if there will be enough interest (at least 3 members that are ready to take part on this competition), then competition will start and i will be responsible for the rewards.
the competition could be also to create a great physic game/app but the physics and collision must be a class module that should be able to use also in b4i.
it only should have physic object
Someone give this man 100$.Did you try my JBox2D library with B4J? It should work as it does not use the Android API.
Did I win the 100$?![]()
In this case, the first thing to read is https://en.wikipedia.org/wiki/Collision_detection
what do you mean by this, Ilan?
a decade ago when you added the physics stuff in flash this only gave you extra parameters for acceleration (.vx, .vy ...) etc but that's just some variables and addition(al) math.
the poblem starts when using different shape types. if you say make a physics routine for 2 colliding circles then it would be easier than doing one for a circle, rectanlge and triangle.
we have box2d for b4a not for b4i...We could try to convert it into a class, but then again we already have Box2D...
I don't want to discourage anyone, as this topic is of high-interest to me, but Box2D is an on-going work-in-progress since 2005.then we will have almost box2d
Box2D Features: http://box2d.org/about/
COLLISION
- Continuous collision detection
- Contact callbacks: begin, end, pre-solve, post-solve
- Convex polyons and circles.
- Multiple shapes per body
- One-shot contact manifolds
- Dynamic tree broadphase
- Efficient pair management
- Fast broadphase AABB queries
- Collision groups and categories
PHYSICS
- Continuous physics with time of impact solver
- Persistent body-joint-contact graph
- Island solution and sleep management
- Contact, friction, and restitution
- Stable stacking with a linear-time solver
- Revolute, prismatic, distance, pulley, gear, mouse joint, and other joint types
- Joint limits, motors, and friction
- Momentum decoupled position correction
- Fairly accurate reaction forces/impulses
SYSTEM
- Small block and stack allocators
- Centralized tuning parameters
- Highly portable C++ with no use of STL containers
Since it doesn't depend on Android, what's stopping it form working with B4i? It's only maths, right?Did you try my JBox2D library with B4J? It should work as it does not use the Android API.
Java. You can write Java programs for iOS (e.g. https://robovm.com) but it's not what's been chosen by Erel, who prefered Objective-C (for excellent reasons I suppose).Since it doesn't depend on Android, what's stopping it form working with B4i? It's only maths, right?
@ilan, this engine is written in Objective-C and it claims to be faster than Box2D: https://chipmunk-physics.net
Maybe someone will be able to wrap it up into a B4i lib.![]()
Post your VB code and Wonder and me should be able to say if it's of some interest.i will try to use my VB source and convert it to B4i (b4j) should be simple because its almost the same language.
i hope i will have soon a working code...
just thought to make a competition to make me more motivated...
Post your VB code and Wonder and me should be able to say if it's of some interest.