issue #2790: Small fixes for physics, uses reference and std::move.