issue #2771: add condition test to updatePhysicsTransform
Merge pull request #4419 from boyu0/iss2771_physical_fix_update_physics_transform

[ci skip]issue #2771: add condition test to updatePhysicsTransform