Failed to apply extern force to body #158
Unanswered
zhang-qiang-github
asked this question in
Q&A
Replies: 1 comment
-
I think an easy solution would be to use your own TimeStepController. Just write a new class MyTimeStepController which is derived from the class TimeStepController and implement a new step method. In this step method you can add any forces after the clearAcceleration command. Hope that helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
setAcceleration(particleIndex, accel).
may apply extern force to a body.But, in the
TimeStepController::step
, all force is clear:So, how can I apply an extern force?
Beta Was this translation helpful? Give feedback.
All reactions