문제

I'm looking for a 2d physics engine for mobile platforms (iOS, Android), which will allow me to create a bridge constructor game.

Please point me in the right direction.

Edit:

I think the engine should support tension (bridge parts may "break" depending on forces which apply to them). Also joints may "break" as well. So my question is there an engine, which provides these, or do I have to write this logic by myself?

도움이 되었습니까?

해결책

"You can get the reaction force and torque off the joint. You can query these forces after each time step and destroy the joint when your threshold is exceeded." - Quote from Erin Catto, the creator of box2d!

http://www.box2d.org/forum/viewtopic.php?f=3&t=1079

다른 팁

It depends on what programming language you are building your game... but I would recommend Box2D. You can find it ported to most languages.

You can look at chipmunk, which has free versions and paid versions with more stuff.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top