Thank you for your response.
The class SlidingActuator, using a Ridif3d template, has a direction component but all the values inside need to be 0 or 1 (0.7017 working sometimes).
Using a Vect3d template, it seems that the direction can only take three parameters (not limited to 0 or 1).
So I tried to use the Vect3d template but I get…[Read more]
My apologies for the late answer. It is exactly the case yes. However, the axis need to be orientated in the space.
I took a look at the sliding constraint example. However, I did not succeed to constraint the point of my solid to the line, as in the example. I tried to understand why.
The sliding constraint take in parameters two…[Read more]
I currently using Sofa in python. I would like to create an oriented sliding actuator. Indeed, I thought that the frame used to defined the direction of the constraint of the actuator was the associated frame, defined by the index, but It seems to be the main frame.
The following code define two frames. The constraint free direction is the X…[Read more]