Fixed updateRigidBody. RigidBody.getCollisionFlags always return 0
Merge pull request #1010 from small-jeeper/develop

Fixed updateRigidBody. RigidBody.getCollisionFlags always return 0