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.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to