Page 1 of 1

How to get the angle change of rotating joints during simulation

Posted: 28 Mar 2024, 03:54
by Lnferior
I want to know the change of angle of a rotating sub during the simulation, what function should I use?

Re: How to get the angle change of rotating joints during simulation

Posted: 28 Mar 2024, 07:33
by coppelia
Hello,

there are several functions related to 3D transformations you could use. But best is probably to use sim.getRotationAxis. Make sure to also read the section on positions, orientations and transformations.

Cheers