Page 1 of 1

Muscle Attachment Point Moving According to two bodies

Posted: Fri Sep 08, 2017 10:54 am
by jonmortensen
Is it possible to have a muscle attachment point be fixed to one body in the y direction, but fixed to another body in the x and z directions?

Alternatively, is it possible to have a muscle act on one body while moving according to another body?

Thanks

Re: Muscle Attachment Point Moving According to two bodies

Posted: Fri Sep 08, 2017 1:26 pm
by tkuchida
Is it possible to have a muscle attachment point be fixed to one body in the y direction, but fixed to another body in the x and z directions?
You might try introducing an intermediate "dummy" body that is connected to body 'A' with a prismatic (slider) joint. The slider's motion can be dictated by a CoordinateCouplerConstraint (https://simtk.org/api_docs/opensim/api_ ... raint.html) whose dependent coordinate comes from body 'B'. I would try this out on a minimally complex model first.