How to get the angle change of rotating joints during simulation

Typically: "How do I... ", "How can I... " questions
Post Reply
Lnferior
Posts: 23
Joined: 20 Jul 2022, 17:49

How to get the angle change of rotating joints during simulation

Post by Lnferior »

I want to know the change of angle of a rotating sub during the simulation, what function should I use?

coppelia
Site Admin
Posts: 10375
Joined: 14 Dec 2012, 00:25

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

Post 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

Post Reply