yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #06497
Re: [Question #210805]: How to add RadialForceEngine
Question #210805 on Yade changed:
https://answers.launchpad.net/yade/+question/210805
Status: Open => Answered
Anton Gladky proposed the following answer:
Why do you use RadialForceEngine instead of ForceEngine?
https://github.com/yade/trunk/blob/master/pkg/common/ForceEngine.cpp#L36
Vector3r radial=(pos - (axisPt+axisDir * /* t */
((pos-axisPt).dot(axisDir)))).normalized();
This is, probably, the "blame-line", but it is difficult for me
quickly to understand, how it
works, sorry.
Anton
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.