Wake up RigidBody 2D after applying torque

This commit is contained in:
Markus Sauermann 2020-08-01 14:36:24 +02:00
parent ec9302cecc
commit 8335f00949
1 changed files with 1 additions and 0 deletions

View File

@ -821,6 +821,7 @@ void PhysicsServer2DSW::body_apply_torque_impulse(RID p_body, real_t p_torque) {
_update_shapes();
body->apply_torque_impulse(p_torque);
body->wakeup();
}
void PhysicsServer2DSW::body_apply_impulse(RID p_body, const Vector2 &p_impulse, const Vector2 &p_position) {