Page 1 of 1

How to write a point constraint

Posted: Tue Jun 27, 2017 1:23 pm
by cscott
Hello,

I've been trying to understand how to write a point constraint in opensim for the model that I'm working on but haven't found any examples of how to write one. Does anyone know of any example code that I could look at as an example?

Re: How to write a point constraint

Posted: Tue Jun 27, 2017 5:57 pm
by tkuchida
Does anyone know of any example code that I could look at as an example?
There's an example for PointOnLineConstraint here: https://github.com/opensim-org/opensim- ... e.cpp#L127; the code for other constraint types will be analogous.