Function `b2Body::ApplyLinearImpulseToCenter` missing
BlueNebulaDev opened this issue · 3 comments
BlueNebulaDev commented
b2Body::ApplyLinearImpulseToCenter seems to be missing.
It's absolutely not a problem, as it's trivial to use b2Body::ApplyLinearImpulse
instead, but I thought it was a good idea to report a missing function.
Birch-san commented
hmmm yeah; you're right:
box2d-wasm/box2d-wasm/Box2D.idl
Lines 246 to 250 in e01c5e1
looks like a gap inherited from the original box2d.js bindings:
https://github.com/kripken/box2d.js/blob/1e6e9da36a3160a9f40cda4cddcb4f83abb4d82c/Box2D_v2.3.1.idl#L218-L222
easy enough to add; will expose this at next convenience.
dimitrisx commented
Thank you very much!
Birch-san commented
v7.0.0 exposes b2Body#ApplyLinearImpulseToCenter