Page 1 of 1

Point constraint on curved surface?

Posted: Fri May 20, 2011 9:12 am
by marc_carc
Hi. I am hoping to create a constraint that constrains the point of one body to a curved surface defined in another body. The surface is an ellipsoid.

I have been reading the documentation but I get the feeling that this will not be easy to implement in OpenSim. Would it be possible to implement such a constraint via the model's XML description?

If not, then can it be done via the API?

If it can be done by the API ... how? :) I have been looking at the OpenSim::UnilateralConstraint class but I have no idea how to implement it.

Thanks in advance

Marc

RE: Point constraint on curved surface?

Posted: Fri May 20, 2011 11:59 am
by aymanh
Hi Marc,

Can you provide some context as to what you're trying to implement? There're many solutions including defining a Coupler Constraint or a Custom Joint.

Please let us know so that we can help you further, or point you in the right direction.

Good luck,
-Ayman