/** * Apply a force at a world point. If the force is not applied at the center of mass, it will generate a torque and affect the angular velocity. This wakes up the body. * * @param force the world force vector (in meter/sec) * @param point the world position of the point of application (in meter) */ public void applyBodyForce(Vec2 force, Vec2 point) { getBody().applyForce(force, point); }
/** * Apply a force at a world point. If the force is not applied at the center of mass, it will generate a torque and affect the angular velocity. This wakes up the body. * * @param force the world force vector (in meter/sec) * @param point the world position of the point of application (in meter) */ public void applyBodyForce(Vec2 force, Vec2 point) { getBody().applyForce(force, point); }