-
-
Notifications
You must be signed in to change notification settings - Fork 121
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
set_lin_acc
is useless outside of nphysics.
#10
Comments
If I call |
That's right, my previous patch did not intend to make In the mean time, I reopen this issue because I realize that it is worked around but not fixed. |
The idea is to do |
Exactly! Though I know that this looks like a hack. |
Starting with v0.8.0, nphysics, |
The acceleration of each object is reset to the world's gravity at the beginning of each update. This mean that any call to
set_lin_acc
(orset_ang_acc
) is just a no-op from the user point of view.Here are some possible fixes:
BodyForceGenerator
).setGravityScale
.The text was updated successfully, but these errors were encountered: