issue #3401: add bit operation for lua physics test
issue #3401: bug fix
issue #3401: bug fix
Merge pull request #5253 from boyu0/iss3401_lua_bit_fix

issue #3401: add bit operation for lua physics test