Page 1 of 1

set WrappingObject Translation with Matlab API

Posted: Fri Jan 01, 2016 4:18 pm
by alessandronavacchia
Hi,

I'm trying to move a Wrapping Object in the local coordinate system of the Body it belongs to.

The objects WrappingObject and WrappingCylinder have the function getTranslation() but there is no setTranslation().

Also, getTranslation() returns an output of type SWIGTYPE_p_double, and I don't know how to modify it.

Is it possible to change the translation of a Wrapping Object through the Matlab API?

Thanks!

Alessandro

Re: set WrappingObject Translation with Matlab API

Posted: Thu Jan 21, 2016 9:18 am
by jimmy
Hi-

Looks like the answer is here;
https://simtk.org/forums/viewtopic.php? ... ies#p15703

-j