diff options
author | Thomas Herzog <thomas.herzog@mail.com> | 2018-08-04 22:07:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-04 22:07:34 +0200 |
commit | 150da987c933e954fa4a2f172985798af6f99f75 (patch) | |
tree | a8cd74d163b9b750db569fa884bf45eadcdc4f63 | |
parent | 7c712a25bc40c4d8e09867b61c941af06c6799f5 (diff) | |
parent | 4073e443322b16817aad54672341f79cf565a6f0 (diff) |
Merge pull request #20715 from godotengine/AndreaCatania-patch-1
Fixed typo in SkeletonIK
-rw-r--r-- | scene/animation/skeleton_ik.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/animation/skeleton_ik.cpp b/scene/animation/skeleton_ik.cpp index cda70c97c9..4991cedfab 100644 --- a/scene/animation/skeleton_ik.cpp +++ b/scene/animation/skeleton_ik.cpp @@ -381,7 +381,7 @@ void SkeletonIK::_bind_methods() { ADD_PROPERTY(PropertyInfo(Variant::STRING, "root_bone"), "set_root_bone", "get_root_bone"); ADD_PROPERTY(PropertyInfo(Variant::STRING, "tip_bone"), "set_tip_bone", "get_tip_bone"); ADD_PROPERTY(PropertyInfo(Variant::REAL, "interpolation", PROPERTY_HINT_RANGE, "0,1,0.001"), "set_interpolation", "get_interpolation"); - ADD_PROPERTY(PropertyInfo(Variant::TRANSFORM, "target"), "set_target", "get_target"); + ADD_PROPERTY(PropertyInfo(Variant::TRANSFORM, "target"), "set_target_transform", "get_target_transform"); ADD_PROPERTY(PropertyInfo(Variant::BOOL, "use_magnet"), "set_use_magnet", "is_using_magnet"); ADD_PROPERTY(PropertyInfo(Variant::VECTOR3, "magnet"), "set_magnet_position", "get_magnet_position"); ADD_PROPERTY(PropertyInfo(Variant::NODE_PATH, "target_node"), "set_target_node", "get_target_node"); |