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

fix rotational drag not working as intended #43

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

itulau
Copy link
Contributor

@itulau itulau commented Dec 29, 2023

I've noticed in my current project that when I've tried to set rotational_drag to anything > 0 the object would start to accumulate rotational velocity instead of losing it. This should solve the issue and bring the intended behavior back.

Correcting the order of parameters when calling `compute_velocity` for `rotational_velocity` fixed an issue with rotational drag
having the inverse intended behavior.
@AustinEast
Copy link
Owner

Nice catch! I admittedly don't use rotational velocity much in my projects so I probably wouldnt have noticed!

@AustinEast AustinEast merged commit 8a9d56a into AustinEast:master Jan 10, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants