diff options
author | Andrea Catania <info@andreacatania.com> | 2018-02-27 08:42:09 +0100 |
---|---|---|
committer | Andrea Catania <info@andreacatania.com> | 2018-02-27 08:42:09 +0100 |
commit | 134cca0cf2ab3d962034e295b3d43f4d40d549df (patch) | |
tree | 2cfa2aa424ed961dd7443160999a90a9cb932d5d /servers | |
parent | e1e78a51aa755a4e22d0ff7278185f6501ba3aa7 (diff) |
Fixed physics server typo
Diffstat (limited to 'servers')
-rw-r--r-- | servers/physics_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/physics_server.cpp b/servers/physics_server.cpp index db5e14043c..f01a4c2f64 100644 --- a/servers/physics_server.cpp +++ b/servers/physics_server.cpp @@ -96,7 +96,7 @@ void PhysicsDirectBodyState::_bind_methods() { ClassDB::bind_method(D_METHOD("add_force", "force", "position"), &PhysicsDirectBodyState::add_force); ClassDB::bind_method(D_METHOD("add_torque", "torque"), &PhysicsDirectBodyState::add_torque); ClassDB::bind_method(D_METHOD("apply_impulse", "position", "j"), &PhysicsDirectBodyState::apply_impulse); - ClassDB::bind_method(D_METHOD("apply_torqe_impulse", "j"), &PhysicsDirectBodyState::apply_torque_impulse); + ClassDB::bind_method(D_METHOD("apply_torque_impulse", "j"), &PhysicsDirectBodyState::apply_torque_impulse); ClassDB::bind_method(D_METHOD("set_sleep_state", "enabled"), &PhysicsDirectBodyState::set_sleep_state); ClassDB::bind_method(D_METHOD("is_sleeping"), &PhysicsDirectBodyState::is_sleeping); |