sim.getJointVelocity

Retrieves the linear or angular velocity of a joint. The velocity is a measured velocity (i.e. from one simulation step to the next), and is available for all joints in the scene

Synopsis

float velocity = sim.getJointVelocity(int jointHandle) float velocity = sim.getJointVelocity(int jointHandle)

Arguments

  • jointHandle: handle of a joint

Return values

  • velocity: the velocity