public List<PhysicsJoint> getJoints() {
        return joints;
    }
Returns a list of connected joints. This list is only filled when
the PhysicsRigidBody is actually added to the physics space or loaded from disk.
@return list of active joints connected to this PhysicsRigidBody
jme3-jbullet/src/main/java/com/jme3/bullet/objects/PhysicsRigidBody.java