I apply force to the b2body, but would like to know is there a way to know what speed the b2body is after applyforce/applylinearimpulse?
b2Body* car;
b2Vec2 force = b2Vec2(0,100);
car->ApplyForce(force, car->GetPosition());
b2Vec2 vel = body->GetLinearVelocity();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With