Have you tried using pX3con_setposition(var jointId, VECTOR *position, VECTOR *rotation);