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

[PHYSICS]: Wheel Joint axis issue. #702

Open
kan6868 opened this issue May 6, 2024 · 0 comments
Open

[PHYSICS]: Wheel Joint axis issue. #702

kan6868 opened this issue May 6, 2024 · 0 comments

Comments

@kan6868
Copy link
Contributor

kan6868 commented May 6, 2024

There seems to be an issue with the Axis of the Wheel Joint; it doesn't behave like a pivot as the documentation describes. Specifically, it doesn't work when you set the axis to 0, 1:

Trucker.-.Solar2D.Simulator.2024-05-06.13-46-55.mp4

Even when you set the springFrequency value higher, the issue becomes more complex.

When I change the axis value to 0, 30, the issue is temporarily resolved, but it's still unstable and difficult to predict accurately when you change the two parameters springDampingRatio and springFrequency.

Additionally, there's an issue where setting the axis value too high will break the physics system.

Trucker.-.Solar2D.Simulator.2024-05-06.13-56-01.mp4

I've seen a //TODO command in Rtt_LuaLibPhysics.cpp, which might be referring to this issue.
A solution has been suggested in #641 , and I've tested it, and it works well.

But this means that previous projects using the Wheel Joint need to adjust their initialization parameters.

@Shchvova , what do you think about this?

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