issue #2771: add condition test to updatePhysicsTransform