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

Kinematic controller joint triggers assert when target rotation is 180 degrees away (3.14) #321

Open
UltraEngine opened this issue Sep 11, 2023 · 0 comments

Comments

@UltraEngine
Copy link

It seems that the custom kinematic controller hits an assert you set the joint target rotation 180 degrees away from the current orientation:

dAssert(lateralDir.DotProduct3(lateralDir) > 1.0e-6f);

I guess this is because the solver does not know which way to turn? Do you have any suggestions on how to handle this in a user-friendly way?

First reported here:
https://www.ultraengine.com/community/topic/62173-kinematic-joint-error-message/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant