Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SkeletonIK acting oddly #48508

Open
dsobiera opened this issue May 6, 2021 · 4 comments
Open

SkeletonIK acting oddly #48508

dsobiera opened this issue May 6, 2021 · 4 comments

Comments

@dsobiera
Copy link

dsobiera commented May 6, 2021

Godot version: 3.2.3, 3.3

OS/device including version:

Ubuntu Linux 64 bit 20.04, OpenGL ES 3.0 Renderer: GeForce GTX 960/PCIe/SSE2, NVidia 460.73.01

Issue description:

Attached video shows that when I do a simple export from Blender and bring into godot, and set up a SkeletonIK, a weird stair stepping bend happens to the object when I "Play IK" and move the target object. I tried asking in some user group areas but nobody seemed to have any idea why this was happening. So, I am filing this issue for more "official" help :) .

ikbend.mp4

Steps to reproduce:
See video

Minimal reproduction project:

@Calinou
Copy link
Member

Calinou commented May 6, 2021

Possible duplicate of #48078 ? Also look at other SkeletonIK issues: /~https://github.com/godotengine/godot/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+skeletonik

@dsobiera
Copy link
Author

dsobiera commented May 6, 2021

Here is the godot project in the video:

ikbend4github.zip

@akien-mga akien-mga added this to the 3.4 milestone May 7, 2021
@akien-mga
Copy link
Member

I tested the project in 3.3-stable, and in 3.x with #48251 applied, to see if it makes a difference.

In both versions:

  • Opening the project triggers this error:
ERROR: get_global_transform: Condition "!is_inside_tree()" is true. Returned: Transform()
   At: scene/3d/spatial.cpp:252.
  • The "stair stepping" behavior can be reproduced when moving the target mesh. I don't have experience with IK so I can't say if it's expected or a bug.

In 3.3-stable only, fixed by #48251:

  • Clicking "Play IK" triggered a massive spam of this error:
ERROR: set_look_at: Condition "v_x.length() == 0" is true.
   At: core/math/transform.cpp:97.

That also goes together with a weird inflection of the bones. So that part might be a duplicate of some other issue fixed by #48251, but the initial report was for 3.2.3-stable and this is still reproducible.

CC @TwistedTwigleg @AndreaCatania FYI.

@dsobiera
Copy link
Author

For what it is worth knowing, I tried this in 3.3.2-stable with the same odd results.

@fire fire removed the topic:import label Jul 10, 2021
@akien-mga akien-mga modified the milestones: 3.4, 3.5 Nov 8, 2021
@KoBeWi KoBeWi modified the milestones: 3.5, 3.x Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants