Box2d: Maximum possible linear velocity?

后端 未结 2 1381
暗喜
暗喜 2020-12-18 00:14

I think I\'ve configured Box2d to have some sort of maximum velocity for any body, but I\'m not sure. I apply an impulse like (100000000, 100000000), and the bo

2条回答
  •  鱼传尺愫
    2020-12-18 00:39

    I have the same problem with version 2.1a i found out that changing line 128 in b2Settings.as can help. Change static public const b2_maxTranslation:Number = 2.0 to a higher number. sure that this isn't the right way, but right now dont really know how to do it correctly.

提交回复
热议问题