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

charactercontroller.lua: (but may be the underlying CharacterComponent?) — characters in swim / swim_idle are juddering #1042

Open
metaleap opened this issue Jan 21, 2025 · 1 comment
Labels
bug Need to fix

Comments

@metaleap
Copy link
Contributor

metaleap commented Jan 21, 2025

(As always with issues posted by me: could be Vulkan-only or even worse, Linux-only..)

This isn't a recent issue, rather a longstanding one, but noticed it's not filed here yet, so for completeness here it is.. and I doubt it's just a script bug, and if so then it's engine stuff. First off, the visuals:

rec-2025-01-21_23.48.31.mp4

Could it be the animation system "competes" here with another system also modifying geometry positions? Maybe buoyancy or generally just physics? And maybe due to multithreadedness sometimes the one "wins" and sometimes the other — more complex than that I'm sure, just... maybe sth in that direction..

@turanszkij
Copy link
Owner

I know this issue, it's a combination of swimming logic in CharacterComponent and framerate. There is no physics engine involved in the swimming, this is different than physics buoyancy.

@turanszkij turanszkij added the bug Need to fix label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Need to fix
Projects
None yet
Development

No branches or pull requests

2 participants