Fixed updateRigidBody. RigidBody.getCollisionFlags always return 0

Sorry, sorry, sorry