Thank you, that’s what I am doing in the pasted coded. I examined the api and it says that MechanicalState only stores information about the physical object and modifying its values will not affect the calculations. I guess that explained why my code is not working.
How can I easily and dynamically alter the position of an object, this object will not need to be constrained by physics.
SOFA is well documented but the sheer number of data types and templates makes it hard to find the right data type and function to use.
I have also tried transformation visitor with no sucess
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.