Invert Box2d b2Vec2

Hello,

I have one b2vec2 Variable
which defines velocity for object

now we have one special event of power-up where it all get reversed
so how to inverse the b2Vec2?
If you want the b2Vec2 itself to be negative use obj.NegativeSelf(). (obj is a b2Vec2 instance). If you just want a negative copy (but not change the b2Vec2 object itself), use obj.GetNegative().

Don't be afraid to take a peek at the source files. -]

Original thread: https://box2d.org/forum/viewtopic.php?t=8226