Search Unity

How do I get the rotation of a configurable joint?

Discussion in 'Scripting' started by EternalMe, Jan 17, 2022.

  1. EternalMe

    EternalMe

    Joined:
    Sep 12, 2014
    Posts:
    183
    I have a ragdoll from ml agents examples. The walker. It's using configurable joints for moving the body parts. It does that by setting target angle/rotation.

    In the game loop, How do I get the current joint angle (initial or in rotation process)?