diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-06-06 01:29:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-06 01:29:20 +0200 |
commit | 94c31ba3006b071a6fe03b29a86d0a415351a50f (patch) | |
tree | f25a24d54a7370e6f972729ea53131fb5f61f7c6 /core/variant/variant_call.cpp | |
parent | 7085c0d80110c4c3f90fcc12f609650144e08712 (diff) | |
parent | 8aa3c2f0918707c2243b86ac53c02c27ceb9a266 (diff) |
Merge pull request #47872 from TwistedTwigleg/GSOC_2020_Working_Branch_2D_IK_SQUISHED
New and improved IK system for Skeleton2D - Squished
Diffstat (limited to 'core/variant/variant_call.cpp')
-rw-r--r-- | core/variant/variant_call.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/variant/variant_call.cpp b/core/variant/variant_call.cpp index 72dd888dff..a1314a11f3 100644 --- a/core/variant/variant_call.cpp +++ b/core/variant/variant_call.cpp @@ -1651,6 +1651,8 @@ static void _register_variant_builtin_methods() { bind_method(Transform2D, basis_xform_inv, sarray("v"), varray()); bind_method(Transform2D, interpolate_with, sarray("xform", "weight"), varray()); bind_method(Transform2D, is_equal_approx, sarray("xform"), varray()); + bind_method(Transform2D, set_rotation, sarray("rotation"), varray()); + bind_method(Transform2D, looking_at, sarray("target"), varray(Transform2D())); /* Basis */ |